test: add --gen-suppressions=all to the valgrind run
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 23 Jul 2018 03:59:39 +0000 (13:59 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 23 Jul 2018 08:45:36 +0000 (18:45 +1000)
Because if we have a heisenbug that can't be reproduced on other machines,
having the suppression output in the log can save a lot of time.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
meson.build

index fc5371b..b370716 100644 (file)
@@ -866,6 +866,7 @@ if get_option('tests')
        add_test_setup('valgrind',
                        exe_wrapper : [ valgrind,
                                        '--leak-check=full',
+                                       '--gen-suppressions=all',
                                        '--error-exitcode=3',
                                        '--suppressions=' + valgrind_suppressions_file ],
                        env :  valgrind_env,