summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-19 10:53:39 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-19 10:53:39 +0200
commitfa6001e7281d2bcc09c5f2eb66263ddc56f10799 (patch)
tree056be667bbcd67f4d813b775370d9aa046acd075 /configure
parent3e3514bce269f54b44773c72df3a12cbf4d8aa5b (diff)
parent8e673efc6f5b7a095557664660305148f2788d30 (diff)
Merge commit '8e673efc6f5b7a095557664660305148f2788d30'
* commit '8e673efc6f5b7a095557664660305148f2788d30': prores: update FATE test to account for alpha plane present in the test sample configure: Add basic valgrind-massif support Conflicts: tests/fate/prores.mak tests/ref/fate/prores-alpha Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 1b7a847fcb..16d5fd32fb 100755
--- a/configure
+++ b/configure
@@ -2515,6 +2515,10 @@ case "$toolchain" in
add_cflags -fsanitize=thread -pie
add_ldflags -fsanitize=thread -pie
;;
+ valgrind-massif)
+ target_exec_default="valgrind"
+ target_exec_args="--alloc-fn=av_malloc --alloc-fn=av_mallocz"
+ ;;
valgrind-memcheck)
target_exec_default=${valgrind:-"valgrind"}
target_exec_args="--error-exitcode=1 --malloc-fill=0x2a --track-origins=yes --leak-check=full --gen-suppressions=all --suppressions=$source_path/tests/fate-valgrind.supp"