aboutsummaryrefslogtreecommitdiff
path: root/tests/run-all.sh
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-08-30 21:37:53 +0200
committerKarel Kočí <cynerd@email.cz>2017-08-30 21:42:02 +0200
commit9cf92379d5fcf0076c25dae0935daab446c992cd (patch)
treedd09a2e996db1e5a8117f01bec76f1e93eaca6e1 /tests/run-all.sh
downloadqtmips-9cf92379d5fcf0076c25dae0935daab446c992cd.tar.gz
qtmips-9cf92379d5fcf0076c25dae0935daab446c992cd.tar.bz2
qtmips-9cf92379d5fcf0076c25dae0935daab446c992cd.zip
Initial commit
Adding work done so far.
Diffstat (limited to 'tests/run-all.sh')
-rwxr-xr-xtests/run-all.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/run-all.sh b/tests/run-all.sh
new file mode 100755
index 0000000..9c57391
--- /dev/null
+++ b/tests/run-all.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Run all tests
+set -e
+
+for T in $(find "$(dirname "$0")" -name test.sh -type f -executable); do
+ timeout -k 120 60 "$T"
+done