fate: make tar command configurable

The 'tar' variable should be set to a command writing a tar archive
of the named files to stdout, typically "tar c" or "tar cf -"

Originally committed as revision 24649 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-08-01 12:29:00 +00:00
parent 7e7fc4e9ee
commit 8b0816cbc3

View File

@ -11,6 +11,7 @@ test -r "$config" || die "usage: fate.sh <config>"
workdir=$(dirname $config)
make=make
tar='tar c'
. "$config"
@ -77,7 +78,7 @@ report(){
date=$(date -u +%Y%m%d%H%M%S)
echo "fate:0:${date}:${slot}:${version}:$1:$2" >report
cat ${build}/config.fate ${build}/tests/data/fate/*.rep >>report
test -n "$fate_recv" && tar cz report *.log | $fate_recv
test -n "$fate_recv" && $tar report *.log | gzip | $fate_recv
}
fail(){