]> git.lizzy.rs Git - rust.git/blobdiff - test.sh
Rename abi-checker patch (#1262)
[rust.git] / test.sh
diff --git a/test.sh b/test.sh
index c62ee8716bc20707a6a39126865a528a07acf63a..3d929a1d50ce2435307a7834c1fe04c1c73b94bd 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -1,29 +1,2 @@
-#!/bin/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
-
-# 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 --release
-
-base_sysroot_tests
-
-extended_sysroot_tests
+#!/usr/bin/env bash
+exec ./y.rs test