aboutsummaryrefslogtreecommitdiff
path: root/scripts/run-all-tests.sh
diff options
context:
space:
mode:
authorSoccera1 <[email protected]>2026-06-15 21:10:43 +1000
committerSoccera1 <[email protected]>2026-07-13 17:02:02 +1000
commit7ea75fb4424af8df393dd75dfb9b14a08aa46959 (patch)
tree52772fa63c7ae0581b44d0c0b164252934acf5f0 /scripts/run-all-tests.sh
downloadbnu-7ea75fb4424af8df393dd75dfb9b14a08aa46959.tar.gz
bnu-7ea75fb4424af8df393dd75dfb9b14a08aa46959.zip
Initial commit
Diffstat (limited to 'scripts/run-all-tests.sh')
-rwxr-xr-xscripts/run-all-tests.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/run-all-tests.sh b/scripts/run-all-tests.sh
new file mode 100755
index 0000000..073a264
--- /dev/null
+++ b/scripts/run-all-tests.sh
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+# Single sequential entry point for local unit tests and the GNU QEMU matrix.
+
+set -Eeuo pipefail
+root=$(cd -- "$(dirname -- "$0")/.." && pwd)
+dry=0
+for arg in "$@"; do [[ $arg == --dry-run ]] && dry=1; done
+
+if ((dry)); then
+ printf '+ bun %q\n' "$root/scripts/run-bun-tests-bounded.js" >&2
+else
+ bun "$root/scripts/run-bun-tests-bounded.js"
+fi
+exec "$root/scripts/run-gnu-qemu-matrix.sh" "$@"