* 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>
... | ... |
@@ -2515,6 +2515,10 @@ case "$toolchain" in |
2515 | 2515 |
add_cflags -fsanitize=thread -pie |
2516 | 2516 |
add_ldflags -fsanitize=thread -pie |
2517 | 2517 |
;; |
2518 |
+ valgrind-massif) |
|
2519 |
+ target_exec_default="valgrind" |
|
2520 |
+ target_exec_args="--alloc-fn=av_malloc --alloc-fn=av_mallocz" |
|
2521 |
+ ;; |
|
2518 | 2522 |
valgrind-memcheck) |
2519 | 2523 |
target_exec_default=${valgrind:-"valgrind"} |
2520 | 2524 |
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" |
... | ... |
@@ -608,9 +608,10 @@ new test. |
608 | 608 |
|
609 | 609 |
The configure script provides a shortcut for using valgrind to spot bugs |
610 | 610 |
related to memory handling. Just add the option |
611 |
-@code{--toolchain=valgrind-memcheck} to your configure line, and |
|
612 |
-reasonable defaults will be set for running FATE under the supervision |
|
613 |
-of the @strong{memcheck} tool of the valgrind suite. |
|
611 |
+@code{--toolchain=valgrind-memcheck} or @code{--toolchain=valgrind-massif} |
|
612 |
+to your configure line, and reasonable defaults will be set for running |
|
613 |
+FATE under the supervision of either the @strong{memcheck} or the |
|
614 |
+@strong{massif} tool of the valgrind suite. |
|
614 | 615 |
|
615 | 616 |
In case you need finer control over how valgrind is invoked, use the |
616 | 617 |
@code{--target-exec='valgrind <your_custom_valgrind_options>} option in |
... | ... |
@@ -11,4 +11,4 @@ fate-prores-422: CMD = framecrc -flags +bitexact -i $(SAMPLES)/prores/Sequ |
11 | 11 |
fate-prores-422_hq: CMD = framecrc -flags +bitexact -i $(SAMPLES)/prores/Sequence_1-Apple_ProRes_422_HQ.mov -pix_fmt yuv422p10le |
12 | 12 |
fate-prores-422_lt: CMD = framecrc -flags +bitexact -i $(SAMPLES)/prores/Sequence_1-Apple_ProRes_422_LT.mov -pix_fmt yuv422p10le |
13 | 13 |
fate-prores-422_proxy: CMD = framecrc -flags +bitexact -i $(SAMPLES)/prores/Sequence_1-Apple_ProRes_422_Proxy.mov -pix_fmt yuv422p10le |
14 |
-fate-prores-alpha: CMD = framecrc -flags +bitexact -i $(SAMPLES)/prores/Sequence_1-Apple_ProRes_with_Alpha.mov -pix_fmt yuv444p10le |
|
14 |
+fate-prores-alpha: CMD = framecrc -flags +bitexact -i $(SAMPLES)/prores/Sequence_1-Apple_ProRes_with_Alpha.mov -pix_fmt yuva444p10le |