mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
tests: add test to debug symbol maps
This commit is contained in:
@ -12,8 +12,17 @@ test_deps = [
|
|||||||
|
|
||||||
test_cflags = [
|
test_cflags = [
|
||||||
'-DTEST_DATA_DIR="@0@/data/"'.format(meson.current_source_dir()),
|
'-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',
|
test_capture = executable('test-capture', 'test-capture.c',
|
||||||
c_args: test_cflags,
|
c_args: test_cflags,
|
||||||
dependencies: test_deps,
|
dependencies: test_deps,
|
||||||
|
|||||||
Reference in New Issue
Block a user