about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-07-01 21:01:36 +0000
committerbors <bors@rust-lang.org>2020-07-01 21:01:36 +0000
commit9491f18c5de3ff1c4bf9c3fdacf52d9859e26f7c (patch)
tree4071471269211b27bf8277c08a38fa96072bded3
parentf781babf87dea29c44f93842b7ac9eb809549d29 (diff)
parent562e0151d186d82d0d1e0b21aebc8edc20dd17c9 (diff)
downloadrust-9491f18c5de3ff1c4bf9c3fdacf52d9859e26f7c.tar.gz
rust-9491f18c5de3ff1c4bf9c3fdacf52d9859e26f7c.zip
Auto merge of #72053 - Mark-Simulacrum:32bitcheck, r=pietroalbini
Test UI tests for pass=check

I'm going to just compare the builder times since I wasn't able to get this working nicely locally (hit some obscure linker error).

Fixes part of #69823
-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