From fd5d5bedf089f0ee92801b0e5dec9fd5d9d79616 Mon Sep 17 00:00:00 2001 From: hasezoey Date: Tue, 2 Jan 2024 17:10:46 +0100 Subject: [PATCH] chore(test): rename "test_all" to "test_generate" and add "test_compile" --- test/test_compile.sh | 12 ++++++++++++ test/{test_all.sh => test_generate.sh} | 0 2 files changed, 12 insertions(+) create mode 100755 test/test_compile.sh rename test/{test_all.sh => test_generate.sh} (100%) diff --git a/test/test_compile.sh b/test/test_compile.sh new file mode 100755 index 00000000..a61ddcd3 --- /dev/null +++ b/test/test_compile.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# This script is to compile all compile-able tests to see if they are correct + +# fail on non-0 exit codes, which makes it more obvious if a test has failed +set -e + +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" + +cd $SCRIPT_DIR + +cargo build --all diff --git a/test/test_all.sh b/test/test_generate.sh similarity index 100% rename from test/test_all.sh rename to test/test_generate.sh