summaryrefslogtreecommitdiff
path: root/tools/test
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test')
-rwxr-xr-xtools/test13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/test b/tools/test
new file mode 100755
index 0000000..06e2159
--- /dev/null
+++ b/tools/test
@@ -0,0 +1,13 @@
+#!/bin/bash -e
+
+## tools/test
+##
+## Run the full test suite.
+##
+## Best run as `tools/test` even if you have the `tools` directory in your
+## $PATH, due to naming collisions with the `test` shell builtin or `/bin/test`.
+
+cd "$(dirname "$0")/.."
+
+npx vitest --run --coverage
+cargo test