]> git.lizzy.rs Git - rust.git/blobdiff - test.sh
Update GHA actions for Node.js 12 deprecation
[rust.git] / test.sh
diff --git a/test.sh b/test.sh
index e7a0d6ab4e1f677e11c671d9d8ae4e8a51c479da..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
-
-base_sysroot_tests
-
-extended_sysroot_tests
+#!/usr/bin/env bash
+exec ./y.rs test