Skip to content

Commit

Permalink
TO REVERT: Run the test in valgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
antoyo committed Dec 15, 2024
1 parent 530cdb4 commit e76217a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/stdarch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: Swatinem/rust-cache@v2

- name: Install packages
run: sudo apt-get install ninja-build ripgrep
run: sudo apt-get install ninja-build ripgrep valgrind

# TODO: remove when we have binutils version 2.43 in the repo.
- name: Install more recent binutils
Expand Down Expand Up @@ -91,7 +91,8 @@ jobs:
- name: Run tests
if: ${{ !matrix.cargo_runner }}
run: |
./y.sh test --release --clean --release-sysroot --build-sysroot --mini-tests --std-tests --test-libcore
./y.sh test --release --clean --release-sysroot --build-sysroot --mini-tests --std-tests --test-libcore || true
valgrind /home/runner/work/rustc_codegen_gcc/rustc_codegen_gcc/build/build_sysroot/sysroot_src/library/core/tests/target/debug/deps/coretests-0eb5c3b3aa55650b
- name: Run stdarch tests
if: ${{ !matrix.cargo_runner }}
Expand Down
2 changes: 1 addition & 1 deletion build_system/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ where
&"always",
&"--stage",
&"0",
&format!("tests/{}", test_type),
&format!("tests/ui/lto/fat-lto.rs"),
&"--compiletest-rustc-args",
&rustc_args,
],
Expand Down

0 comments on commit e76217a

Please sign in to comment.