fate-recv: record number of compiler warnings in summary file
authorMans Rullgard <mans@mansr.com>
Mon, 24 Jan 2011 01:06:51 +0000 (01:06 +0000)
committerMans Rullgard <mans@mansr.com>
Mon, 24 Jan 2011 01:06:51 +0000 (01:06 +0000)
fate-recv.sh

index 7eb249f..0f05d23 100755 (executable)
@@ -72,7 +72,9 @@ fi
 
 unset IFS
 
-echo "stats:$ntest:$npass" >>summary
+nwarn=$(grep -Eci '\<warning\>' compile.log)
+
+echo "stats:$ntest:$npass:$nwarn" >>summary
 
 repdir=$slotdir/$date
 mkdir $repdir