source: doc/theses/mike_brooks_MMath/benchmarks/list/test-correctness.sh @ f3ba69d

ADTast-experimental
Last change on this file since f3ba69d was 0b66ef9, checked in by Michael Brooks <mlbrooks@…>, 15 months ago

Add linked list performance experiment

  • Property mode set to 100755
File size: 610 bytes
Line 
1echo Should you make clean?
2
3# Accept by eyeball when all you see is
4#   - (irrelevant) performance numbers being reported and
5#   - any u++ "allocated but not freed" warnings that you can live with.
6# Reject when you see lines of trace messages, like what's in the "expect" files.
7
8function test1 {
9    echo + diff "<($1)" $2
10    diff <($1) $2
11}
12export -f test1
13
14make perfprogs -j 8 CFA=$cfa MODE=correctness
15
16for casegroup in stack-insfirst stack-inslast queue-insfirst queue-inslast
17do
18  export casegroup
19  ls perfexp--*$casegroup* | xargs -n 1 -I {} bash -c 'test1 "./$@" expect.$casegroup.txt' _ {}
20done
Note: See TracBrowser for help on using the repository browser.