summaryrefslogtreecommitdiff
path: root/parallel/all.do
diff options
context:
space:
mode:
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2015-07-14 13:34:03 +0200
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2015-07-14 13:34:03 +0200
commita40bcfcf8b95ce5bc7d604436cfd8da80a3fce08 (patch)
tree9110e5b32ea6fdc075f5a3d5cf188b80d53e47f7 /parallel/all.do
parent741dc2db9f1545af1446da87bcd07436940958eb (diff)
+ test case for parallel processing
Diffstat (limited to 'parallel/all.do')
-rw-r--r--parallel/all.do8
1 files changed, 8 insertions, 0 deletions
diff --git a/parallel/all.do b/parallel/all.do
new file mode 100644
index 0000000..83bac6b
--- /dev/null
+++ b/parallel/all.do
@@ -0,0 +1,8 @@
+start=$(date +%s)
+redo-ifchange a b c
+end=$(date +%s)
+if [ "$(( $end - $start ))" -lt "3" ]; then
+ echo "PASS: parallel build" >&2
+else
+ echo "FAIL: parallel build" >&2
+fi