Skip to content

Commit e76217a

Browse files
committed
TO REVERT: Run the test in valgrind
1 parent 530cdb4 commit e76217a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/stdarch.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
uses: Swatinem/rust-cache@v2
3535

3636
- name: Install packages
37-
run: sudo apt-get install ninja-build ripgrep
37+
run: sudo apt-get install ninja-build ripgrep valgrind
3838

3939
# TODO: remove when we have binutils version 2.43 in the repo.
4040
- name: Install more recent binutils
@@ -91,7 +91,8 @@ jobs:
9191
- name: Run tests
9292
if: ${{ !matrix.cargo_runner }}
9393
run: |
94-
./y.sh test --release --clean --release-sysroot --build-sysroot --mini-tests --std-tests --test-libcore
94+
./y.sh test --release --clean --release-sysroot --build-sysroot --mini-tests --std-tests --test-libcore || true
95+
valgrind /home/runner/work/rustc_codegen_gcc/rustc_codegen_gcc/build/build_sysroot/sysroot_src/library/core/tests/target/debug/deps/coretests-0eb5c3b3aa55650b
9596
9697
- name: Run stdarch tests
9798
if: ${{ !matrix.cargo_runner }}

build_system/src/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ where
10521052
&"always",
10531053
&"--stage",
10541054
&"0",
1055-
&format!("tests/{}", test_type),
1055+
&format!("tests/ui/lto/fat-lto.rs"),
10561056
&"--compiletest-rustc-args",
10571057
&rustc_args,
10581058
],

0 commit comments

Comments
 (0)