Browse code

fate: add comment field

This adds a comment field to the report header, suitable for
extra information not covered by the automatic fields.

Signed-off-by: Mans Rullgard <mans@mansr.com>

Mans Rullgard authored on 2011/05/20 20:47:42
Showing 1 changed files
... ...
@@ -75,7 +75,7 @@ clean(){
75 75
 
76 76
 report(){
77 77
     date=$(date -u +%Y%m%d%H%M%S)
78
-    echo "fate:0:${date}:${slot}:${version}:$1:$2" >report
78
+    echo "fate:0:${date}:${slot}:${version}:$1:$2:${comment}" >report
79 79
     cat ${build}/config.fate ${build}/tests/data/fate/*.rep >>report
80 80
     test -n "$fate_recv" && $tar report *.log | gzip | $fate_recv
81 81
 }