Welcome to mirror list, hosted at ThFree Co, Russian Federation.

fate-run.sh « tests - github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 899580fa7100a932ff8f8df1ac24bc0b47c876a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /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"