mirror of https://git.ffmpeg.org/ffmpeg.git
tests/fate.sh: If cat *.rep fails try it with a for loop.
Fixes fate on haiku, where cat dies due to too many arguments xargs could be used too but we do not use xargs currently so it would be an additional dependency. Also the plain cat is left in place as it is faster than the loop Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f3158c3f29
commit
d554d004a6
|
@ -85,7 +85,8 @@ report(){
|
||||||
date=$(date -u +%Y%m%d%H%M%S)
|
date=$(date -u +%Y%m%d%H%M%S)
|
||||||
echo "fate:0:${date}:${slot}:${version}:$1:$2:${comment}" >report
|
echo "fate:0:${date}:${slot}:${version}:$1:$2:${comment}" >report
|
||||||
# echo "fate:1:${date}:${slot}:${version}:$1:$2:${branch}:${comment}" >report
|
# 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 >>report
|
||||||
|
cat ${build}/tests/data/fate/*.rep >>report || for i in ${build}/tests/data/fate/*.rep ; do cat "$i" >>report ; done
|
||||||
test -n "$fate_recv" && $tar report *.log | gzip | $fate_recv
|
test -n "$fate_recv" && $tar report *.log | gzip | $fate_recv
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue