]> Cypherpunks.ru repositories - goredo.git/blobdiff - t/apenwarr/all.do
Import tests from apenwarr/redo and redo.sh
[goredo.git] / t / apenwarr / all.do
diff --git a/t/apenwarr/all.do b/t/apenwarr/all.do
new file mode 100644 (file)
index 0000000..362d319
--- /dev/null
@@ -0,0 +1,9 @@
+rm -f 000-set-minus-e/log
+redo 000-set-minus-e/all
+if [ "$(cat 000-set-minus-e/log)" != "ok" ]; then
+    echo "FATAL! .do file not run with 'set -e' in effect!" >&2
+    exit 5
+fi
+
+/bin/ls 1[0-9][0-9]*/all.do | sed 's/\.do$//' | xargs redo
+110-compile/hello >&2