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
oldabi
Måns Rullgård 15 years ago
parent 7e7fc4e9ee
commit 8b0816cbc3
  1. 3
      tests/fate.sh

@ -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(){

Loading…
Cancel
Save