fate: Ignore errors from concatenating report files

Some files may be missing for valid reasons, e.g. on compile failure.
This commit is contained in:
Diego Biurrun 2016-02-21 12:12:26 +01:00
parent 9328adcc80
commit cd846b4797
1 changed files with 1 additions and 1 deletions

View File

@ -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
}