aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fate.sh
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-08-01 12:29:00 +0000
committerMåns Rullgård <mans@mansr.com>2010-08-01 12:29:00 +0000
commit8b0816cbc36b9973823eaf46fdbfd836eeb0d3b7 (patch)
treec7055127fc2095624c3331fe75c8570833eb816d /tests/fate.sh
parent7e7fc4e9ee071e447269549961ee5d42b4c31078 (diff)
downloadffmpeg-8b0816cbc36b9973823eaf46fdbfd836eeb0d3b7.tar.gz
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
Diffstat (limited to 'tests/fate.sh')
-rwxr-xr-xtests/fate.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/fate.sh b/tests/fate.sh
index 5ca85000b5..7e5deee90b 100755
--- a/tests/fate.sh
+++ b/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(){