From 6dcf600aaaa15459089af42ce8b91d97ca3f680f Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Tue, 28 May 2019 19:07:05 -0700 Subject: [PATCH] tests: add test to debug symbol maps --- src/tests/meson.build | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/tests/meson.build b/src/tests/meson.build index 6d3cf640..f42aa694 100644 --- a/src/tests/meson.build +++ b/src/tests/meson.build @@ -12,8 +12,17 @@ test_deps = [ test_cflags = [ '-DTEST_DATA_DIR="@0@/data/"'.format(meson.current_source_dir()), + '-DSYSPROF_COMPILATION=1', ] +test_addr_map = executable('test-addr-map', + ['test-addr-map.c', + '../libsysprof/sysprof-map-lookaside.c', + '../libsysprof/sysprof-symbol-map.c'], + c_args: test_cflags, + dependencies: test_deps, +) + test_capture = executable('test-capture', 'test-capture.c', c_args: test_cflags, dependencies: test_deps,