]> git.lizzy.rs Git - rust.git/blobdiff - test.sh
Remove outdated FIXME
[rust.git] / test.sh
diff --git a/test.sh b/test.sh
index e7a0d6ab4e1f677e11c671d9d8ae4e8a51c479da..a10924628bb0eba9350b56f5603ead5b068b75f4 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -1,29 +1,13 @@
-#!/bin/bash
+#!/usr/bin/env bash
 set -e
 
-# Build cg_clif
-export RUSTFLAGS="-Zrun_dsymutil=no"
-if [[ "$1" == "--release" ]]; then
-    export CHANNEL='release'
-    cargo build --release
-else
-    export CHANNEL='debug'
-    cargo build --bin cg_clif
-fi
+./y.rs build --sysroot none "$@"
 
-# Config
-source scripts/config.sh
-source scripts/tests.sh
-export CG_CLIF_INCR_CACHE_DISABLED=1
-
-# Cleanup
 rm -r target/out || true
 
-no_sysroot_tests
-
-echo "[BUILD] sysroot"
-time ./build_sysroot/build_sysroot.sh
+scripts/tests.sh no_sysroot
 
-base_sysroot_tests
+./y.rs build "$@"
 
-extended_sysroot_tests
+scripts/tests.sh base_sysroot
+scripts/tests.sh extended_sysroot