]> git.lizzy.rs Git - rust.git/blobdiff - test.sh
Replace functions taking or returning u128 or i128 with a trap
[rust.git] / test.sh
diff --git a/test.sh b/test.sh
index 8cc5b2d186ecc2e801d716b066fd0ce594ca52d6..0ea592778181a7888973b9396523e4a5086ebc0a 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -11,11 +11,11 @@ echo "[BUILD] example"
 $RUSTC example/example.rs --crate-type lib
 
 echo "[JIT] mini_core_hello_world"
-SHOULD_RUN=1 $RUSTC --crate-type bin example/mini_core_hello_world.rs --cfg jit
+SHOULD_RUN=1 JIT_ARGS="abc bcd" $RUSTC --crate-type bin example/mini_core_hello_world.rs --cfg jit
 
 echo "[AOT] mini_core_hello_world"
 $RUSTC example/mini_core_hello_world.rs --crate-name mini_core_hello_world --crate-type bin
-sh -c ./target/out/mini_core_hello_world
+./target/out/mini_core_hello_world abc bcd
 
 echo "[BUILD] sysroot"
 time ./build_sysroot/build_sysroot.sh