Skip to content

Commit

Permalink
Move tests to more opportune point
Browse files Browse the repository at this point in the history
  • Loading branch information
diondokter committed May 20, 2024
1 parent 0d23a71 commit bd71c71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ci/docker/scripts/x86_64-gnu-llvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ if [[ -z "${PR_CI_JOB}" ]]; then
../x.py --stage 1 test --skip src/tools/tidy
fi

# The tests are run a second time with the size optimizations enabled.
../x.py --stage 1 test library/std library/alloc library/core \
--rustc-args "--cfg feature=\"optimize_for_size\""

# Run the `mir-opt` tests again but this time for a 32-bit target.
# This enforces that tests using `// EMIT_MIR_FOR_EACH_BIT_WIDTH` have
# both 32-bit and 64-bit outputs updated by the PR author, before
Expand All @@ -27,6 +23,10 @@ if [[ -z "${PR_CI_JOB}" ]]; then
# Run `ui-fulldeps` in `--stage=1`, which actually uses the stage0
# compiler, and is sensitive to the addition of new flags.
../x.py --stage 1 test tests/ui-fulldeps

# The tests are run a second time with the size optimizations enabled.
../x.py --stage 1 test library/std library/alloc library/core \
--rustc-args "--cfg feature=\"optimize_for_size\""
fi

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

0 comments on commit bd71c71

Please sign in to comment.