aboutsummaryrefslogtreecommitdiffstats
path: root/tests/all.do
diff options
context:
space:
mode:
Diffstat (limited to 'tests/all.do')
-rw-r--r--tests/all.do29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/all.do b/tests/all.do
new file mode 100644
index 0000000..9f63d1f
--- /dev/null
+++ b/tests/all.do
@@ -0,0 +1,29 @@
+#!/bin/sh -e
+# Copyright (c) 2015 Tharre
+#
+# This software may be modified and distributed under the terms
+# of the MIT license. See the LICENSE file for details.
+
+# don't reuse existing redo session
+unset REDO_ROOT
+unset REDO_MAGIC
+unset REDO_PARENT_TARGET
+
+T=*.t
+
+# pre-clean
+rm -rf test-results
+
+# T
+for i in $T; do
+ echo "*** $i ***"
+ ./$i
+done
+
+# aggregate-results
+for f in test-results/*.counts; do
+ echo "$f"
+done | ./aggregate-results.sh
+
+# cleanup
+rm -rf "trash directory.*" test-results .prove