[FFmpeg-cvslog] Fix valgrind FATE for out-of-tree builds.

Reimar Döffinger git at videolan.org
Sat Jan 21 14:52:29 CET 2012


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sat Jan 21 14:35:51 2012 +0100| [d41c824b233292d7e5314a7029fab8cf554a9b2b] | committer: Reimar Döffinger

Fix valgrind FATE for out-of-tree builds.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d41c824b233292d7e5314a7029fab8cf554a9b2b
---

 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 15f7d7f..2b6f450 100755
--- a/configure
+++ b/configure
@@ -3243,7 +3243,7 @@ fi
 
 enabled debug && add_cflags -g"$debuglevel" && add_asflags -g"$debuglevel"
 enabled coverage && add_cflags "-fprofile-arcs -ftest-coverage" && add_ldflags "-fprofile-arcs -ftest-coverage"
-test -n "$valgrind" && target_exec="$valgrind --error-exitcode=1 --malloc-fill=0x2a --track-origins=yes --leak-check=full --gen-suppressions=all --suppressions=tests/fate-valgrind.supp"
+test -n "$valgrind" && target_exec="$valgrind --error-exitcode=1 --malloc-fill=0x2a --track-origins=yes --leak-check=full --gen-suppressions=all --suppressions=$source_path/tests/fate-valgrind.supp"
 
 # add some useful compiler flags if supported
 check_cflags -Wdeclaration-after-statement



More information about the ffmpeg-cvslog mailing list