echo Should you make clean? # Accept by eyeball when all you see is # - (irrelevant) performance numbers being reported and # - any u++ "allocated but not freed" warnings that you can live with. # Reject when you see lines of trace messages, like what's in the "expect" files. function test1 { echo + diff "<($1)" $2 diff <($1) $2 } export -f test1 make perfprogs -j 8 CFA=$cfa MODE=correctness for casegroup in stack-insfirst stack-inslast queue-insfirst queue-inslast do export casegroup ls perfexp--*$casegroup* | xargs -n 1 -I {} bash -c 'test1 "./$@" expect.$casegroup.txt' _ {} done