diff --git a/images/installer-origin-release/Dockerfile.ci b/images/installer-origin-release/Dockerfile.ci index 42c5de97405..0d3bda79404 100644 --- a/images/installer-origin-release/Dockerfile.ci +++ b/images/installer-origin-release/Dockerfile.ci @@ -8,5 +8,5 @@ ENV USER="bazel" ENV HOME="/tmp" RUN bazel --output_base=/tmp build smoke_tests && \ - cp bazel-bin/tests/smoke/linux_amd64_stripped/go_default_test /usr/bin/smoke && \ + cp bazel-bin/tests/smoke/linux_amd64_pure_stripped/go_default_test /usr/bin/smoke && \ bazel clean diff --git a/tests/run.sh b/tests/run.sh index 827e7a6ca22..67b72148d3e 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -33,7 +33,7 @@ bazel build tarball smoke_tests echo -e "\\e[36m Unpacking artifacts...\\e[0m" tar -zxf bazel-bin/tectonic-dev.tar.gz -cp bazel-bin/tests/smoke/linux_amd64_stripped/go_default_test tectonic-dev/smoke +cp bazel-bin/tests/smoke/linux_amd64_pure_stripped/go_default_test tectonic-dev/smoke cd tectonic-dev ### HANDLE SSH KEY ### diff --git a/tests/smoke/BUILD.bazel b/tests/smoke/BUILD.bazel index cd31fbc451c..721adeaa51e 100644 --- a/tests/smoke/BUILD.bazel +++ b/tests/smoke/BUILD.bazel @@ -2,6 +2,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_test") go_test( name = "go_default_test", + pure = "on", srcs = [ "cluster_test.go", "common_test.go", diff --git a/tests/smoke/README.md b/tests/smoke/README.md index 1fdbfc1b7c4..0fc622686f6 100644 --- a/tests/smoke/README.md +++ b/tests/smoke/README.md @@ -24,7 +24,7 @@ Compile the smoke test binary from the root directory of the project: bazel build smoke_tests ``` -The tests can then be run by invoking the `go_default_test` binary in the `bazel-bin/tests/smoke/linux_amd64_stripped` directory. +The tests can then be run by invoking the `go_default_test` binary in the `bazel-bin/tests/smoke/linux_amd64_pure_stripped` directory. *Note*: the `go_default_test` binary accepts several flags available to the `go test` command; to list them, invoke the `go_default_test` binary with the `-help` flag. @@ -49,5 +49,5 @@ To run the cluster test suite, invoke the smoke test binary with the `-cluster` To run the cluster suite verbosely, add the `-test.v` flag: ```sh -bazel-bin/tests/smoke/linux_amd64_stripped/go_default_test -cluster -test.v +bazel-bin/tests/smoke/linux_amd64_pure_stripped/go_default_test -cluster -test.v ```