|
@@ -4,14 +4,18 @@ base=$(dirname $0) |
|
|
. "${base}/md5.sh" |
|
|
. "${base}/md5.sh" |
|
|
|
|
|
|
|
|
test="${1#fate-}" |
|
|
test="${1#fate-}" |
|
|
SAMPLES_PATH=$2 |
|
|
|
|
|
|
|
|
samples=$2 |
|
|
target_exec=$3 |
|
|
target_exec=$3 |
|
|
BUILD_PATH=$4 |
|
|
|
|
|
|
|
|
target_path=$4 |
|
|
command=$5 |
|
|
command=$5 |
|
|
cmp=${6:-diff} |
|
|
cmp=${6:-diff} |
|
|
ref=${7:-"${base}/ref/fate/${test}"} |
|
|
ref=${7:-"${base}/ref/fate/${test}"} |
|
|
fuzz=$8 |
|
|
fuzz=$8 |
|
|
|
|
|
|
|
|
|
|
|
# compatibility with Mike's test specs |
|
|
|
|
|
SAMPLES_PATH=$samples |
|
|
|
|
|
BUILD_PATH=$target_path |
|
|
|
|
|
|
|
|
outdir="tests/data/fate" |
|
|
outdir="tests/data/fate" |
|
|
outfile="${outdir}/${test}" |
|
|
outfile="${outdir}/${test}" |
|
|
|
|
|
|
|
|