File tree 4 files changed +6
-2
lines changed
4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ test-stage = 2
7
7
doc-stage = 2
8
8
# When compiling from source, you usually want all tools.
9
9
extended = true
10
+ # Use libtest built from the source tree instead of the precompiled one from stage 0.
11
+ compiletest-use-stage0-libtest =false
10
12
11
13
# Most users installing from source want to build all parts of the project from source.
12
14
[llvm ]
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ runners:
27
27
<< : *base-job
28
28
envs :
29
29
env-x86_64-apple-tests : &env-x86_64-apple-tests
30
- SCRIPT : ./x.py --stage 2 test --skip tests/ui --skip tests/rustdoc -- --exact
30
+ SCRIPT : ./x.py check compiletest --set build.compiletest-use-stage0-libtest=true && ./x.py --stage 2 test --skip tests/ui --skip tests/rustdoc -- --exact
31
31
RUST_CONFIGURE_ARGS : --build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc
32
32
RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
33
33
# Ensure that host tooling is tested on our minimum supported macOS version.
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ runners:
58
58
<< : *base-job
59
59
envs :
60
60
env-x86_64-apple-tests : &env-x86_64-apple-tests
61
- SCRIPT : ./x.py --stage 2 test --skip tests/ui --skip tests/rustdoc -- --exact
61
+ SCRIPT : ./x.py check compiletest --set build.compiletest-use-stage0-libtest=true && ./x.py --stage 2 test --skip tests/ui --skip tests/rustdoc -- --exact
62
62
RUST_CONFIGURE_ARGS : --build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc
63
63
RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
64
64
# Ensure that host tooling is tested on our minimum supported macOS version.
Original file line number Diff line number Diff line change 186
186
if [ " $NO_DOWNLOAD_CI_RUSTC " = " " ]; then
187
187
RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set rust.download-rustc=if-unchanged"
188
188
fi
189
+
190
+ RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set build.compiletest-use-stage0-libtest=true"
189
191
fi
190
192
191
193
if [ " $ENABLE_GCC_CODEGEN " = " 1" ]; then
You can’t perform that action at this time.
0 commit comments