diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2019-07-31 15:38:28 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2019-07-31 16:09:45 -0400 |
commit | 6cb798252ee6866fd894e8be29c094d193847e6b (patch) | |
tree | 627810118d19ce5b13db010d692f7aab5a5ae2c7 | |
parent | 1b0498c3342e0d9248ed3f33ff2c7ad1db2aeb54 (diff) | |
download | libnice-6cb798252ee6866fd894e8be29c094d193847e6b.tar.gz |
meson: Add valgrind setup
-rw-r--r-- | meson.build | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 132a556..20da9a3 100644 --- a/meson.build +++ b/meson.build @@ -270,4 +270,14 @@ if not get_option('examples').disabled() subdir('examples') endif +add_test_setup('valgrind', + exe_wrapper: ['valgrind', + '--leak-check=full', + '--show-reachable=no', + '--error-exitcode=1', + '--suppressions='+meson.current_source_dir()+'/tests/libnice.supp', + '--num-callers=10'], + timeout_multiplier: 10 + ) + configure_file(output : 'config.h', configuration : cdata) |