[sysprof/wip/chergert/sysprof-3] tests: add test to debug symbol maps



commit a696749798ec6ca9d1893bbed867f7ebab2ca1f3
Author: Christian Hergert <chergert redhat com>
Date:   Tue May 28 19:07:05 2019 -0700

    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 6d3cf64..f42aa69 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]