diff options
Diffstat (limited to 'ffmpeg/tests/fate.sh')
| -rwxr-xr-x | ffmpeg/tests/fate.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ffmpeg/tests/fate.sh b/ffmpeg/tests/fate.sh index 1f70e79..f371291 100755 --- a/ffmpeg/tests/fate.sh +++ b/ffmpeg/tests/fate.sh @@ -28,14 +28,14 @@ lock(){ checkout(){ case "$repo" in file:*|/*) src="${repo#file:}" ;; - git:*) git clone "$repo" "$src" ;; + git:*) git clone --quiet "$repo" "$src" ;; esac } update()( cd ${src} || return case "$repo" in - git:*) git pull --quiet ;; + git:*) git fetch --force && git reset --hard FETCH_HEAD ;; esac ) @@ -46,15 +46,18 @@ configure()( --samples="${samples}" \ --enable-gpl \ --enable-memory-poisoning \ + --enable-avresample \ ${arch:+--arch=$arch} \ ${cpu:+--cpu="$cpu"} \ ${cross_prefix:+--cross-prefix="$cross_prefix"} \ + ${as:+--as="$as"} \ ${cc:+--cc="$cc"} \ ${ld:+--ld="$ld"} \ ${target_os:+--target-os="$target_os"} \ ${sysroot:+--sysroot="$sysroot"} \ ${target_exec:+--target-exec="$target_exec"} \ ${target_path:+--target-path="$target_path"} \ + ${target_samples:+--target-samples="$target_samples"} \ ${extra_cflags:+--extra-cflags="$extra_cflags"} \ ${extra_ldflags:+--extra-ldflags="$extra_ldflags"} \ ${extra_libs:+--extra-libs="$extra_libs"} \ @@ -67,6 +70,7 @@ compile()( ) fate()( + test "$build_only" = "yes" && return cd ${build} || return ${make} ${makeopts} -k fate ) |
