Last change
on this file since 7a29392f was
90a3a89,
checked in by Mike Brooks <mlbrooks@…>, 17 months ago
|
LL perf: Add comments for rerunning tests
|
-
Property mode set to
100755
|
File size:
721 bytes
|
Line | |
---|
1 | echo Should you make clean? |
---|
2 | # if so |
---|
3 | # pushd ~/cfax |
---|
4 | # . ~/setcfa build-med |
---|
5 | # popd |
---|
6 | # make perfprogs CFA=$cfa -j8 MODE=correctness |
---|
7 | |
---|
8 | |
---|
9 | # Accept by eyeball when all you see is |
---|
10 | # - (irrelevant) performance numbers being reported and |
---|
11 | # - any u++ "allocated but not freed" warnings that you can live with. |
---|
12 | # Reject when you see lines of trace messages, like what's in the "expect" files. |
---|
13 | |
---|
14 | function test1 { |
---|
15 | echo + diff "<($1)" $2 |
---|
16 | diff <($1) $2 |
---|
17 | } |
---|
18 | export -f test1 |
---|
19 | |
---|
20 | make perfprogs -j 8 CFA=$cfa MODE=correctness |
---|
21 | |
---|
22 | for casegroup in stack-insfirst stack-inslast queue-insfirst queue-inslast |
---|
23 | do |
---|
24 | export casegroup |
---|
25 | ls perfexp--*$casegroup* | xargs -n 1 -I {} bash -c 'test1 "./$@" expect.$casegroup.txt' _ {} |
---|
26 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.