X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=tests%2Ffate.sh;h=86e4178c50b7b3a8de23a5fc362f15feb350886a;hb=f099d3d1d5466bd63f4ab36270d169ff9ea613b8;hp=6f0e0fffcb4102fdefd324d64a660b3219fc7856;hpb=faa6f1c306b817a7349e3fe16590371d6d499998;p=ffmpeg diff --git a/tests/fate.sh b/tests/fate.sh index 6f0e0fffcb4..86e4178c50b 100755 --- a/tests/fate.sh +++ b/tests/fate.sh @@ -35,7 +35,7 @@ checkout(){ update()( cd ${src} || return case "$repo" in - git:*) git pull ;; + git:*) git pull --quiet ;; esac ) @@ -49,6 +49,7 @@ configure()( ${cpu:+--cpu="$cpu"} \ ${cross_prefix:+--cross-prefix="$cross_prefix"} \ ${cc:+--cc="$cc"} \ + ${ld:+--ld="$ld"} \ ${target_os:+--target-os="$target_os"} \ ${sysroot:+--sysroot="$sysroot"} \ ${target_exec:+--target-exec="$target_exec"} \ @@ -70,12 +71,12 @@ fate()( ) clean(){ - rm -r ${build} ${inst} + rm -rf ${build} ${inst} } 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 } @@ -91,8 +92,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"