Home | History | Annotate | Download | only in scripts
      1 #!/usr/bin/awk -f
      2 
      3 $1 == "PASS" {
      4 	pass += $2;
      5 	next
      6 }
      7 $1 == "FAIL" {
      8 	fail += $2
      9 }
     10 END {
     11 	print "PASS", pass;
     12 	print "FAIL", fail;
     13 }
     14