Last change
on this file since f9ad69d was
0b66ef9,
checked in by Michael Brooks <mlbrooks@…>, 17 months ago
|
Add linked list performance experiment
|
-
Property mode set to
100755
|
File size:
679 bytes
|
Rev | Line | |
---|
[0b66ef9] | 1 | echo Should you make? Clean? |
---|
| 2 | |
---|
| 3 | # example uses: |
---|
| 4 | # ./test-correctness-regenerate-expected |
---|
| 5 | # ./test-correctness-regenerate-expected -overwrite |
---|
| 6 | # ./test-correctness-regenerate-expected cfa-cfa allhead |
---|
| 7 | # ./test-correctness-regenerate-expected -overwrite cfa-cfa allhead |
---|
| 8 | |
---|
| 9 | if [[ "$1" == "-overwrite" ]] |
---|
| 10 | then |
---|
| 11 | suffix='' |
---|
| 12 | oracle_fx=${2:-cfa-cfa} |
---|
| 13 | oracle_accessor=${3:-allhead} |
---|
| 14 | else |
---|
| 15 | suffix='.proposed' |
---|
| 16 | oracle_fx=${1:-cfa-cfa} |
---|
| 17 | oracle_accessor=${2:-allhead} |
---|
| 18 | fi |
---|
| 19 | |
---|
| 20 | for casegroup in stack-insfirst stack-inslast queue-insfirst queue-inslast |
---|
| 21 | do |
---|
| 22 | program=perfexp--$oracle_fx--$casegroup-$oracle_accessor |
---|
| 23 | ./$program | sed 's|^\./perfexp--.*||g' > expect.$casegroup$suffix.txt |
---|
| 24 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.