Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: source/patched-ffmpeg-mt/tests/fate.sh

Issue 3384002: ffmpeg source update for sep 09 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/patched-ffmpeg-mt/tests/fate.mak ('k') | source/patched-ffmpeg-mt/tests/fate-run.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/patched-ffmpeg-mt/tests/fate.sh
===================================================================
--- source/patched-ffmpeg-mt/tests/fate.sh (revision 59334)
+++ source/patched-ffmpeg-mt/tests/fate.sh (working copy)
@@ -9,7 +9,7 @@
test -r "$config" || die "usage: fate.sh <config>"
-workdir=$(dirname $config)
+workdir=$(cd $(dirname $config) && pwd)
make=make
tar='tar c'
@@ -46,6 +46,7 @@
${src}/configure \
--prefix="${inst}" \
--samples="${samples}" \
+ --enable-gpl \
${arch:+--arch=$arch} \
${cpu:+--cpu="$cpu"} \
${cross_prefix:+--cross-prefix="$cross_prefix"} \
@@ -94,17 +95,16 @@
src=${workdir}/src
build=${workdir}/build
inst=${workdir}/install
-report=tests/data/fate/report
test -d "$src" && update || checkout || die "Error fetching source"
cd ${workdir}
version=$(${src}/version.sh ${src})
-test "$version" = "$(cat version 2>/dev/null)" && exit 0
-echo ${version} >version
+test "$version" = "$(cat version-$slot 2>/dev/null)" && exit 0
+echo ${version} >version-$slot
-rm -rf "${build}"
+rm -rf "${build}" *.log
mkdir -p ${build}
configure >configure.log 2>&1 || fail $? "error configuring"
« no previous file with comments | « source/patched-ffmpeg-mt/tests/fate.mak ('k') | source/patched-ffmpeg-mt/tests/fate-run.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698