diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2022-09-15 16:14:29 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2022-09-15 16:14:29 +0000 |
| commit | d82b696594c39d5f463e4560b68d7a2d4e33b2f0 (patch) | |
| tree | c1e8d0ac2cf175f7fdd08b384cc37df27590fd0a | |
| parent | b023e2f7d04d6f7707e4dd05ab133e56e9f4ff51 (diff) | |
| download | rust-d82b696594c39d5f463e4560b68d7a2d4e33b2f0.tar.gz rust-d82b696594c39d5f463e4560b68d7a2d4e33b2f0.zip | |
Update for latests rustc test suite changes
| -rw-r--r-- | scripts/setup_rust_fork.sh | 4 | ||||
| -rwxr-xr-x | scripts/test_rustc_tests.sh | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/scripts/setup_rust_fork.sh b/scripts/setup_rust_fork.sh index 6ae8b14f4c0..d6a37789599 100644 --- a/scripts/setup_rust_fork.sh +++ b/scripts/setup_rust_fork.sh @@ -68,3 +68,7 @@ popd # FIXME remove once inline asm is fully supported export RUSTFLAGS="$RUSTFLAGS --cfg=rustix_use_libc" + +# Allow the testsuite to use llvm tools +host_triple=$(rustc -vV | grep host | cut -d: -f2 | tr -d " ") +export LLVM_BIN_DIR="$(rustc --print sysroot)/lib/rustlib/$host_triple/bin" diff --git a/scripts/test_rustc_tests.sh b/scripts/test_rustc_tests.sh index 944787612d8..ace0cd76d81 100755 --- a/scripts/test_rustc_tests.sh +++ b/scripts/test_rustc_tests.sh @@ -116,6 +116,8 @@ rm src/test/ui/test-attrs/test-type.rs # TODO panic message on stderr. correct s # not sure if this is actually a bug in the test suite, but the symbol list shows the function without leading _ for some reason rm -r src/test/run-make/native-link-modifier-bundle +rm src/test/ui/stdio-is-blocking.rs # really slow with unoptimized libstd + 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 |
