mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-27 20:10:51 -04:00
bazel: set integration go build tag
This commit is contained in:
parent
ae7888a13f
commit
3352a9e988
7 changed files with 108 additions and 1 deletions
34
disk-mapper/internal/test/BUILD.bazel
Normal file
34
disk-mapper/internal/test/BUILD.bazel
Normal file
|
@ -0,0 +1,34 @@
|
|||
load("//bazel/go:go_test.bzl", "go_test")
|
||||
|
||||
go_test(
|
||||
name = "test_test",
|
||||
srcs = [
|
||||
"benchmark_test.go",
|
||||
"integration_test.go",
|
||||
],
|
||||
# keep
|
||||
tags = ["manual"],
|
||||
deps = select({
|
||||
"@io_bazel_rules_go//go/platform:android": [
|
||||
"//disk-mapper/internal/diskencryption",
|
||||
"//internal/cryptsetup",
|
||||
"//internal/logger",
|
||||
"@com_github_martinjungblut_go_cryptsetup//:go-cryptsetup",
|
||||
"@com_github_stretchr_testify//assert",
|
||||
"@com_github_stretchr_testify//require",
|
||||
"@org_uber_go_goleak//:goleak",
|
||||
"@org_uber_go_zap//zapcore",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux": [
|
||||
"//disk-mapper/internal/diskencryption",
|
||||
"//internal/cryptsetup",
|
||||
"//internal/logger",
|
||||
"@com_github_martinjungblut_go_cryptsetup//:go-cryptsetup",
|
||||
"@com_github_stretchr_testify//assert",
|
||||
"@com_github_stretchr_testify//require",
|
||||
"@org_uber_go_goleak//:goleak",
|
||||
"@org_uber_go_zap//zapcore",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue