about summary refs log tree commit diff
path: root/src/ci/docker
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2020-05-09 13:26:18 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2020-07-01 10:07:52 -0400
commit562e0151d186d82d0d1e0b21aebc8edc20dd17c9 (patch)
tree361cb9bfd0ffb716929de6ec9e58c39a3689c4bf /src/ci/docker
parentd462551a8600e57d8b6f87e71ea56868bc5da6cf (diff)
downloadrust-562e0151d186d82d0d1e0b21aebc8edc20dd17c9.tar.gz
rust-562e0151d186d82d0d1e0b21aebc8edc20dd17c9.zip
Verify UI tests work in pass=check mode
We do not test cross-compilation here as the PR builder lacks a sufficiently
recent LLVM to cross-compile to 32-bit linux. Once we bump the minimum LLVM
version to LLVM 9, this can use normal 32-bit linux.
Diffstat (limited to 'src/ci/docker')
-rw-r--r--src/ci/docker/x86_64-gnu-llvm-8/Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ci/docker/x86_64-gnu-llvm-8/Dockerfile b/src/ci/docker/x86_64-gnu-llvm-8/Dockerfile
index 58fdc6f2623..1d9cad149d9 100644
--- a/src/ci/docker/x86_64-gnu-llvm-8/Dockerfile
+++ b/src/ci/docker/x86_64-gnu-llvm-8/Dockerfile
@@ -45,6 +45,15 @@ ENV SCRIPT python2.7 ../x.py test --exclude src/tools/tidy && \
            # (we're only interested in the MIR output, so this doesn't matter)
            python2.7 ../x.py test src/test/mir-opt --pass=build \
                                   --target=armv5te-unknown-linux-gnueabi && \
+           # Run the UI test suite again, but in `--pass=check` mode
+           #
+           # This is intended to make sure that both `--pass=check` continues to
+           # work.
+           #
+           # FIXME: We ideally want to test this in 32-bit mode, but currently
+           # (due to the LLVM problems mentioned above) that isn't readily
+           # possible.
+           python2.7 ../x.py test src/test/ui --pass=check && \
            # Run tidy at the very end, after all the other tests.
            python2.7 ../x.py test src/tools/tidy