diff --git a/.github/workflows/stdarch.yml b/.github/workflows/stdarch.yml index d8818eefa96..5a33382220e 100644 --- a/.github/workflows/stdarch.yml +++ b/.github/workflows/stdarch.yml @@ -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 @@ -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 }} diff --git a/build_system/src/test.rs b/build_system/src/test.rs index 371fcb4bc30..7a287645751 100644 --- a/build_system/src/test.rs +++ b/build_system/src/test.rs @@ -1052,7 +1052,7 @@ where &"always", &"--stage", &"0", - &format!("tests/{}", test_type), + &format!("tests/ui/lto/fat-lto.rs"), &"--compiletest-rustc-args", &rustc_args, ],