Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / re2 / runtests
blobaadcb92f9b1a37f060e2f53304e15fd755d0513f
1 #!/usr/bin/env bash
3 success=true
4 for i
5 do
6 printf "%-40s" $i
7 if sh -c "$i >$i.log 2>&1" 2>/dev/null
8 then
9 echo PASS
10 else
11 echo FAIL';' output in $i.log
12 success=false
14 done
16 if $success; then
17 echo 'ALL TESTS PASSED.'
18 exit 0
20 echo 'TESTS FAILED.'
21 exit 1