diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-07-21 12:04:56 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-07-21 12:18:29 +0200 |
commit | 3cb61d03f8722fddfa14877accae1b3ca51e3926 (patch) | |
tree | e7703c629396ae4da9c666f5e934529e3663e66c /tests/share/run-test.sh | |
parent | c54d1f2ad1a781363f9c35e4f7266f4560a6aba8 (diff) |
Wider range of cell types supported in "share" pass
Diffstat (limited to 'tests/share/run-test.sh')
-rwxr-xr-x | tests/share/run-test.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/share/run-test.sh b/tests/share/run-test.sh index d511c909..203d6fcd 100755 --- a/tests/share/run-test.sh +++ b/tests/share/run-test.sh @@ -1,4 +1,8 @@ #!/bin/bash + +# run this test many times: +# time bash -c 'for ((i=0; i<100; i++)); do echo "-- $i --"; bash run-test.sh || exit 1; done' + set -e rm -rf temp @@ -14,3 +18,10 @@ for i in $( ls temp/*.ys | sed 's,[^0-9],,g; s,^0*\(.\),\1,g;' ); do done echo +failed_share=$( echo $( gawk '/^#job#/ { j=$2; db[j]=0; } /^Removing [24] cells/ { delete db[j]; } END { for (j in db) print(j); }' temp/all_share_log.txt ) ) +if [ -n "$failed_share" ]; then + echo "Resource sharing failed for the following test cases: $failed_share" + false +fi + +exit 0 |