diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2022-03-18 15:38:58 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2022-03-18 15:38:58 +0100 |
| commit | d1c8cf76b0222e43e55a76125aeffc05f55c83f9 (patch) | |
| tree | be62f0571f9281cf89260dde637dced7d92d0d00 /scripts | |
| parent | fc80e8b9703d12abe69d77311462e663f075ef67 (diff) | |
| download | rust-d1c8cf76b0222e43e55a76125aeffc05f55c83f9.tar.gz rust-d1c8cf76b0222e43e55a76125aeffc05f55c83f9.zip | |
Run tests with warnings
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/test_rustc_tests.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/test_rustc_tests.sh b/scripts/test_rustc_tests.sh index be1f8c05153..2748469c34b 100755 --- a/scripts/test_rustc_tests.sh +++ b/scripts/test_rustc_tests.sh @@ -15,7 +15,7 @@ for test in $(rg --files-with-matches "asm!|catch_unwind|should_panic|lto|// nee rm $test done -for test in $(rg -i --files-with-matches "//(\[\w+\])?~|// error-pattern:|// build-fail|// run-fail|-Cllvm-args" src/test/ui); do +for test in $(rg -i --files-with-matches "//(\[\w+\])?~[^\|]*\s*ERR|// error-pattern:|// build-fail|// run-fail|-Cllvm-args" src/test/ui); do rm $test done @@ -95,6 +95,8 @@ rm src/test/ui/issues/issue-74564-if-expr-stack-overflow.rs # gives a stackoverf rm src/test/incremental/thinlto/cgu_invalidated_when_import_{added,removed}.rs # requires LLVM +rm src/test/ui/unsafe/union.rs # has UB caught by cg_clif. see rust-lang/rust#95075 + echo "[TEST] rustc test suite" RUST_TEST_NOCAPTURE=1 COMPILETEST_FORCE_STAGE0=1 ./x.py test --stage 0 src/test/{codegen-units,run-make,run-pass-valgrind,ui,incremental} popd |
