From eb8da636af0652a4865055c237a76caff02b98bf Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Fri, 20 May 2011 12:06:51 +0100 Subject: fate: allow overriding default build and install dirs This is useful e.g. for building in a different filesystem than where the source is kept. Signed-off-by: Mans Rullgard --- tests/fate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/fate.sh b/tests/fate.sh index 6f0e0fffcb..c522269b54 100755 --- a/tests/fate.sh +++ b/tests/fate.sh @@ -91,8 +91,8 @@ lock ${workdir} || die "${workdir} locked" cd ${workdir} || die "cd ${workdir} failed" src=${workdir}/src -build=${workdir}/build -inst=${workdir}/install +: ${build:=${workdir}/build} +: ${inst:=${workdir}/install} test -d "$src" && update || checkout || die "Error fetching source" -- cgit v1.2.3 From 5ffccc00567363c8e09d4c47dd03dee99c312b7d Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Fri, 20 May 2011 12:47:42 +0100 Subject: fate: add comment field This adds a comment field to the report header, suitable for extra information not covered by the automatic fields. Signed-off-by: Mans Rullgard --- tests/fate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/fate.sh b/tests/fate.sh index c522269b54..9fd117c3bc 100755 --- a/tests/fate.sh +++ b/tests/fate.sh @@ -75,7 +75,7 @@ clean(){ report(){ date=$(date -u +%Y%m%d%H%M%S) - echo "fate:0:${date}:${slot}:${version}:$1:$2" >report + echo "fate:0:${date}:${slot}:${version}:$1:$2:${comment}" >report cat ${build}/config.fate ${build}/tests/data/fate/*.rep >>report test -n "$fate_recv" && $tar report *.log | gzip | $fate_recv } -- cgit v1.2.3 From 6da57043eabdcde99e8411da3628f2249e951e66 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Fri, 20 May 2011 12:57:12 +0100 Subject: fate: disable threading for encoding This explicitly disables threading for encoding as slices are otherwise automatically activated. This should be dropped once option resetting between files is fully implemented. Signed-off-by: Mans Rullgard --- tests/regression-funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/regression-funcs.sh b/tests/regression-funcs.sh index b79c258e77..933aa648d6 100755 --- a/tests/regression-funcs.sh +++ b/tests/regression-funcs.sh @@ -53,7 +53,7 @@ echov(){ FFMPEG_OPTS="-v 0 -y" COMMON_OPTS="-flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact" DEC_OPTS="$COMMON_OPTS -threads $threads" -ENC_OPTS="$COMMON_OPTS -dct fastint" +ENC_OPTS="$COMMON_OPTS -threads 1 -dct fastint" run_ffmpeg() { -- cgit v1.2.3