Skip to content

Commit bd71c71

Browse files
committed
Move tests to more opportune point
1 parent 0d23a71 commit bd71c71

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ci/docker/scripts/x86_64-gnu-llvm.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ if [[ -z "${PR_CI_JOB}" ]]; then
1212
../x.py --stage 1 test --skip src/tools/tidy
1313
fi
1414

15-
# The tests are run a second time with the size optimizations enabled.
16-
../x.py --stage 1 test library/std library/alloc library/core \
17-
--rustc-args "--cfg feature=\"optimize_for_size\""
18-
1915
# Run the `mir-opt` tests again but this time for a 32-bit target.
2016
# This enforces that tests using `// EMIT_MIR_FOR_EACH_BIT_WIDTH` have
2117
# both 32-bit and 64-bit outputs updated by the PR author, before
@@ -27,6 +23,10 @@ if [[ -z "${PR_CI_JOB}" ]]; then
2723
# Run `ui-fulldeps` in `--stage=1`, which actually uses the stage0
2824
# compiler, and is sensitive to the addition of new flags.
2925
../x.py --stage 1 test tests/ui-fulldeps
26+
27+
# The tests are run a second time with the size optimizations enabled.
28+
../x.py --stage 1 test library/std library/alloc library/core \
29+
--rustc-args "--cfg feature=\"optimize_for_size\""
3030
fi
3131

3232
# When running gcc backend tests, we need to install `libgccjit` and to not run llvm codegen

0 commit comments

Comments
 (0)