about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_codegen_cranelift/test.sh')
-rwxr-xr-xcompiler/rustc_codegen_cranelift/test.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_cranelift/test.sh b/compiler/rustc_codegen_cranelift/test.sh
new file mode 100755
index 00000000000..3cdd4119d79
--- /dev/null
+++ b/compiler/rustc_codegen_cranelift/test.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+set -e
+
+export RUSTFLAGS="-Zrun_dsymutil=no"
+
+./build.sh --without-sysroot $@
+
+rm -r target/out || true
+
+scripts/tests.sh no_sysroot
+
+./build.sh $@
+
+scripts/tests.sh base_sysroot
+scripts/tests.sh extended_sysroot