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
This commit is contained in:
bors 2020-07-01 21:01:36 +00:00
commit 9491f18c5d

View File

@ -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) # (we're only interested in the MIR output, so this doesn't matter)
python2.7 ../x.py test src/test/mir-opt --pass=build \ python2.7 ../x.py test src/test/mir-opt --pass=build \
--target=armv5te-unknown-linux-gnueabi && \ --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. # Run tidy at the very end, after all the other tests.
python2.7 ../x.py test src/tools/tidy python2.7 ../x.py test src/tools/tidy