ia64/xen-unstable

view tools/xm-test/mergereport @ 7778:0b4596caf761

nloopbacks default is now 8. So vifnum of greater than 7 requires
an adjustment to nloopbacks. Warning comment updated.

Signed-off-by: Nivedita Singhvi (niv@us.ibm.com)
author kaf24@firebug.cl.cam.ac.uk
date Fri Nov 11 10:46:36 2005 +0100 (2005-11-11)
parents 2bcfd776cb7f
children 43671a60b0f1
line source
1 #!/bin/sh
3 # Dan Smith <danms@us.ibm.com> - 16-Sep-2005
4 #
5 # This script takes all the .report files in the current
6 # directory and generates a summary table, showing the
7 # number of PASS, FAIL, XPASS, and XFAIL tests in each
8 # report
11 echo " Platform | PASS | FAIL | XPASS | XFAIL |"
12 echo "---------------------+------+------+-------+-------+"
14 for r in *.report; do
16 mach=$(basename $r .report)
17 pass=$(cat $r | grep ' PASS' | cut -d : -f 2 | sed 's/ *//')
18 fail=$(cat $r | grep ' FAIL' | cut -d : -f 2 | sed 's/ *//')
19 xpas=$(cat $r | grep ' XPASS' | cut -d : -f 2 | sed 's/ *//')
20 xfal=$(cat $r | grep ' XFAIL' | cut -d : -f 2 | sed 's/ *//')
22 printf "%20s | %4s | %4s | %5s | %5s |\n" "$mach" "$pass" \
23 "$fail" "$xpas" "$xfal"
25 done