aboutsummaryrefslogtreecommitdiffstats
path: root/tests/seek_test.sh
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-11-23 12:36:44 +0000
committerMåns Rullgård <mans@mansr.com>2008-11-23 12:36:44 +0000
commit9a5771e9c120fa6aa43ecef28f0335fad8c75f22 (patch)
tree16080967936deaaf6d863a36765c0c1005d4eca6 /tests/seek_test.sh
parentdbad2c29cc91f2763c8a953f91a23cb78b959c90 (diff)
downloadffmpeg-9a5771e9c120fa6aa43ecef28f0335fad8c75f22.tar.gz
Run regression tests on target system.
Originally committed as revision 15915 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/seek_test.sh')
-rwxr-xr-xtests/seek_test.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/seek_test.sh b/tests/seek_test.sh
index 996acb3566..3074d708b8 100755
--- a/tests/seek_test.sh
+++ b/tests/seek_test.sh
@@ -3,6 +3,9 @@
LC_ALL=C
export LC_ALL
+target_exec=$2
+target_path=$3
+
datadir="tests/data"
logfile="$datadir/seek.regression"
@@ -13,7 +16,7 @@ rm -f $logfile
for i in $list ; do
echo ---------------- >> $logfile
echo $i >> $logfile
- tests/seek_test $i >> $logfile
+ $target_exec $target_path/tests/seek_test $target_path/$i >> $logfile
done
if diff -u -w "$reffile" "$logfile" ; then