Skip to content

Commit

Permalink
tl-tester: Test suite improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Kleen committed Feb 3, 2015
1 parent 05767fb commit 6db7d07
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tl-tester
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,22 @@ grep /k log

# test L1 uses a single group
onegroup() {
grep perf | tr -cd '{}' | awk ' { if ($1 != "{}") { print "more than one group for L1" ; exit(1); } } '
grep perf $1 | tr -cd '{}' | awk ' { if ($1 != "{}") { print "more than one group for L1" ; exit(1); } } '
grep -v "not supported" $1
}

for j in $SMTCPUS ; do
EVENTMAP=${cpus[$j]} FORCEHT=1 FORCECPU=$j $WRAP ./toplev.py -d -l1 $LOAD | tee log
onegroup < log
onegroup log
EVENTMAP=${cpus[$j]} FORCEHT=0 FORCECPU=$j $WRAP ./toplev.py -d -l1 $LOAD | tee log
onegroup < log
onegroup log
EVENTMAP=${cpus[$j]} FORCEHT=1 FORCECPU=$j $WRAP ./toplev.py -d $ALL $LOAD
EVENTMAP=${cpus[$j]} FORCEHT=0 FORCECPU=$j $WRAP ./toplev.py -d $ALL $LOAD
done

for j in $NOSMTCPUS ; do
EVENTMAP=${cpus[$j]} FORCECPU=$j $WRAP ./toplev.py -d -l1 $LOAD | tee log
onegroup < log
onegroup log
EVENTMAP=${cpus[$j]} FORCECPU=$j $WRAP ./toplev.py -d $ALL $LOAD
done

Expand Down

0 comments on commit 6db7d07

Please sign in to comment.