ADTast-experimentalpthread-emulationqualifiedEnum
Last change
on this file since 8419b76 was
b183717,
checked in by Andrew Beach <ajbeach@…>, 3 years ago
|
Update another file in the exception benchmarks as well as some print formatting.
|
-
Property mode set to
100755
|
File size:
627 bytes
|
Rev | Line | |
---|
[e4da70b] | 1 | #!/usr/bin/env bash |
---|
| 2 | |
---|
[b183717] | 3 | readonly ALL_TESTS=(raise-{empty,detor,finally,other} try-{catch,finally} \ |
---|
| 4 | cond-match-{all,none} fixup-{empty,other}) |
---|
[e4da70b] | 5 | |
---|
| 6 | gen-file-name() ( |
---|
| 7 | if echo "$1" | grep -q -E '^[^%]*%[^%]*$' -; then |
---|
| 8 | for L in {a..z}; do |
---|
| 9 | file_name=${1//%/$L} |
---|
| 10 | if ! [ -e $file_name ]; then |
---|
| 11 | break |
---|
| 12 | fi |
---|
| 13 | done |
---|
| 14 | echo $file_name |
---|
| 15 | else |
---|
| 16 | echo "$1" |
---|
| 17 | fi |
---|
| 18 | ) |
---|
| 19 | |
---|
[f79ee0d] | 20 | readonly N=${1:-1} |
---|
[e4da70b] | 21 | readonly OUT_FILE=$(gen-file-name ${2:-run-%-$N}) |
---|
| 22 | |
---|
| 23 | run-tests() ( |
---|
| 24 | for ((i = 0 ; i < N ; ++i)); do |
---|
| 25 | for test in ${ALL_TESTS[@]}; do |
---|
| 26 | for lang in cfa-t cfa-r cpp java python; do |
---|
| 27 | ./test.sh $lang $test |
---|
| 28 | done |
---|
| 29 | done |
---|
| 30 | done |
---|
| 31 | ) |
---|
| 32 | |
---|
| 33 | run-tests > $OUT_FILE |
---|
Note: See
TracBrowser
for help on using the repository browser.