Skip to content

Commit f96fbf9

Browse files
committed
[DO NOT MERGE] Run stage1 tests on PR CI
1 parent c2524bc commit f96fbf9

File tree

1 file changed

+13
-13
lines changed
  • src/ci/docker/host-x86_64/x86_64-gnu-llvm-15

1 file changed

+13
-13
lines changed

src/ci/docker/host-x86_64/x86_64-gnu-llvm-15/script.sh

+13-13
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
set -ex
44

55
# Only run the stage 1 tests on merges, not on PR CI jobs.
6-
if [[ -z "${PR_CI_JOB}" ]]; then
7-
../x.py --stage 1 test --skip src/tools/tidy
6+
#if [[ -z "${PR_CI_JOB}" ]]; then
7+
../x.py --stage 1 test --skip src/tools/tidy
88

9-
# Run the `mir-opt` tests again but this time for a 32-bit target.
10-
# This enforces that tests using `// EMIT_MIR_FOR_EACH_BIT_WIDTH` have
11-
# both 32-bit and 64-bit outputs updated by the PR author, before
12-
# the PR is approved and tested for merging.
13-
# It will also detect tests lacking `// EMIT_MIR_FOR_EACH_BIT_WIDTH`,
14-
# despite having different output on 32-bit vs 64-bit targets.
15-
../x.py --stage 1 test tests/mir-opt --host='' --target=i686-unknown-linux-gnu
9+
# Run the `mir-opt` tests again but this time for a 32-bit target.
10+
# This enforces that tests using `// EMIT_MIR_FOR_EACH_BIT_WIDTH` have
11+
# both 32-bit and 64-bit outputs updated by the PR author, before
12+
# the PR is approved and tested for merging.
13+
# It will also detect tests lacking `// EMIT_MIR_FOR_EACH_BIT_WIDTH`,
14+
# despite having different output on 32-bit vs 64-bit targets.
15+
../x.py --stage 1 test tests/mir-opt --host='' --target=i686-unknown-linux-gnu
1616

17-
# Run `ui-fulldeps` in `--stage=1`, which actually uses the stage0
18-
# compiler, and is sensitive to the addition of new flags.
19-
../x.py --stage 1 test tests/ui-fulldeps
20-
fi
17+
# Run `ui-fulldeps` in `--stage=1`, which actually uses the stage0
18+
# compiler, and is sensitive to the addition of new flags.
19+
../x.py --stage 1 test tests/ui-fulldeps
20+
#fi
2121

2222
# NOTE: intentionally uses all of `x.py`, `x`, and `x.ps1` to make sure they all work on Linux.
2323
../x.py --stage 2 test --skip src/tools/tidy

0 commit comments

Comments
 (0)