]> git.lizzy.rs Git - rust.git/blobdiff - test.sh
Auto merge of #86475 - crlf0710:miri_vtable_refactor, r=bjorn3
[rust.git] / test.sh
diff --git a/test.sh b/test.sh
index 2b8f9ad733b623c3d7c49ed9a13e244f51a12f72..e222adc7b80582ec7169a0c65f2fd9d34af00341 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -1,12 +1,13 @@
-#!/bin/bash
-source config.sh
+#!/usr/bin/env bash
+set -e
+
+./build.sh --sysroot none "$@"
 
 rm -r target/out || true
-mkdir -p target/out/clif
 
-echo "[BUILD] sysroot"
-time ./build_sysroot/build_sysroot.sh
+scripts/tests.sh no_sysroot
+
+./build.sh "$@"
 
-echo "[BUILD+RUN] alloc_example"
-$RUSTC example/alloc_example.rs --crate-type bin
-./target/out/alloc_example
+scripts/tests.sh base_sysroot
+scripts/tests.sh extended_sysroot