fate: Ignore errors from concatenating report files
authorDiego Biurrun <diego@biurrun.de>
Sun, 21 Feb 2016 11:12:26 +0000 (12:12 +0100)
committerDiego Biurrun <diego@biurrun.de>
Tue, 23 Feb 2016 10:45:37 +0000 (11:45 +0100)
Some files may be missing for valid reasons, e.g. on compile failure.

tests/fate.sh

index a192981..b8ee1ae 100755 (executable)
@@ -83,7 +83,7 @@ clean(){
 report(){
     date=$(date -u +%Y%m%d%H%M%S)
     echo "fate:1:${date}:${slot}:${version}:$1:$2:${branch}:${comment}" >report
-    cat ${build}/config.fate ${build}/tests/data/fate/*.rep >>report
+    cat ${build}/config.fate ${build}/tests/data/fate/*.rep >>report 2>/dev/null
     test -n "$fate_recv" && $tar report *.log | gzip | $fate_recv
 }