about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-07-18 11:57:22 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-07-18 11:57:22 +0000
commit5fcedf62df66c9b197d5a1d2bc8694e35cef1772 (patch)
tree61e755f9a5e712cb79692deb1d9cf76116fa2eac
parentbc061fa31983e1b36305051c3eaa1e893d223d9d (diff)
downloadrust-5fcedf62df66c9b197d5a1d2bc8694e35cef1772.tar.gz
rust-5fcedf62df66c9b197d5a1d2bc8694e35cef1772.zip
Update for changes to the rustc test suite
-rw-r--r--scripts/setup_rust_fork.sh3
-rwxr-xr-xscripts/test_rustc_tests.sh3
2 files changed, 5 insertions, 1 deletions
diff --git a/scripts/setup_rust_fork.sh b/scripts/setup_rust_fork.sh
index c730ae89435..091bfa1e992 100644
--- a/scripts/setup_rust_fork.sh
+++ b/scripts/setup_rust_fork.sh
@@ -63,3 +63,6 @@ deny-warnings = false
 verbose-tests = false
 EOF
 popd
+
+# FIXME remove once inline asm is fully supported
+export RUSTFLAGS="$RUSTFLAGS --cfg=rustix_use_libc"
diff --git a/scripts/test_rustc_tests.sh b/scripts/test_rustc_tests.sh
index 3e5d91c2da3..90293a04cb5 100755
--- a/scripts/test_rustc_tests.sh
+++ b/scripts/test_rustc_tests.sh
@@ -93,7 +93,6 @@ rm -r src/test/run-make/emit-shared-files # requires the rustdoc executable in b
 rm -r src/test/run-make/unstable-flag-required # same
 rm -r src/test/run-make/rustdoc-* # same
 rm -r src/test/run-make/issue-88756-default-output # same
-rm -r src/test/run-make/issue-88756-opt-help # same
 rm -r src/test/run-make/remap-path-prefix-dwarf # requires llvm-dwarfdump
 
 # genuine bugs
@@ -117,6 +116,8 @@ rm src/test/ui/backtrace.rs # TODO warning
 rm src/test/ui/empty_global_asm.rs # TODO add needs-asm-support
 rm src/test/ui/simple_global_asm.rs # TODO add needs-asm-support
 rm src/test/ui/test-attrs/test-type.rs # TODO panic message on stderr. correct stdout
+# 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
 
 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}