mirror of https://github.com/FFmpeg/FFmpeg.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
312 B
20 lines
312 B
15 years ago
|
#! /bin/sh
|
||
|
|
||
|
base=$(dirname $0)
|
||
|
. "${base}/md5.sh"
|
||
|
|
||
|
test="${1#fate-}"
|
||
|
SAMPLES_PATH=$2
|
||
|
target_exec=$3
|
||
|
BUILD_PATH=$4
|
||
|
command=$5
|
||
|
|
||
|
ref="${base}/ref/fate/${test}"
|
||
|
outdir="tests/data/fate"
|
||
|
outfile="${outdir}/${test}"
|
||
|
|
||
|
mkdir -p "$outdir"
|
||
|
|
||
|
eval $target_exec $command > "$outfile" 2>/dev/null
|
||
|
diff -u -w "$ref" "$outfile"
|