license: enable Bazel-based integration testing

Co-authored-by: malt3 <malt3@users.noreply.github.com>
This commit is contained in:
Markus Rudy 2023-11-22 13:08:28 +01:00 committed by Markus Rudy
parent b0702cd033
commit d599b80b2a
2 changed files with 1 additions and 1 deletions

View File

@ -6,4 +6,3 @@ enable_testing()
# TODO(malt3): Remove this once every integration test is migrated to Bazel
add_test(NAME integration-csi COMMAND bash -c "go test -tags integration -c ./test/ && sudo ./test.test -test.v" WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/csi)
add_test(NAME integration-dm COMMAND bash -c "go test -tags integration -c ./test/ && sudo ./test.test -test.v" WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/disk-mapper/internal)
add_test(NAME integration-license COMMAND bash -c "go test -tags integration" WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/internal/license)

View File

@ -4,6 +4,7 @@ go_test(
name = "integration_test",
srcs = ["license_integration_test.go"],
tags = [
"integration",
"requires-network",
],
deps = [