summaryrefslogtreecommitdiff
path: root/tests/fate-run.sh
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-03-05 08:05:56 +0100
committerAnton Khirnov <anton@khirnov.net>2012-03-06 15:03:36 +0100
commit018f39ef496c768f7cd580a96ae971e03c78205e (patch)
tree9153f5015053247fcdbebb91814129881a805906 /tests/fate-run.sh
parent4138cd29077de2fbca9c49e96f70d21a78e24e33 (diff)
FATE: add CPUFLAGS variable, mapping to -cpuflags avconv option.
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-xtests/fate-run.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 07cfe74ba7..a1503aecbd 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -17,6 +17,7 @@ ref=${7:-"${base}/ref/fate/${test}"}
fuzz=$8
threads=${9:-1}
thread_type=${10:-frame+slice}
+cpuflags=${11:-all}
outdir="tests/data/fate"
outfile="${outdir}/${test}"
@@ -50,7 +51,7 @@ run(){
}
avconv(){
- run avconv -nostats -threads $threads -thread_type $thread_type "$@"
+ run avconv -nostats -threads $threads -thread_type $thread_type -cpuflags $cpuflags "$@"
}
framecrc(){
@@ -76,7 +77,7 @@ pcm(){
regtest(){
t="${test#$2-}"
ref=${base}/ref/$2/$t
- ${base}/${1}-regression.sh $t $2 $3 "$target_exec" "$target_path" "$threads" "$thread_type"
+ ${base}/${1}-regression.sh $t $2 $3 "$target_exec" "$target_path" "$threads" "$thread_type" "$cpuflags"
}
codectest(){