Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion images/installer-origin-release/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion tests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ###
Expand Down
1 change: 1 addition & 0 deletions tests/smoke/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions tests/smoke/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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
```