mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
tests: Add missing dependency on glib-2.0
It has previously been implicitly pulled in by libsysprof-capture, but that will change in future. Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #40
This commit is contained in:
@ -12,24 +12,29 @@ test_cflags = [
|
||||
'-DSYSPROF_COMPILATION=1',
|
||||
]
|
||||
|
||||
test_capture_deps = [
|
||||
dependency('glib-2.0'),
|
||||
libsysprof_capture_dep,
|
||||
]
|
||||
|
||||
test_capture = executable('test-capture', 'test-capture.c',
|
||||
c_args: test_cflags,
|
||||
dependencies: [libsysprof_capture_dep],
|
||||
dependencies: test_capture_deps,
|
||||
)
|
||||
|
||||
test_capture_cursor = executable('test-capture-cursor', 'test-capture-cursor.c',
|
||||
c_args: test_cflags,
|
||||
dependencies: [libsysprof_capture_dep],
|
||||
dependencies: test_capture_deps,
|
||||
)
|
||||
|
||||
test_mapped_ring_buffer = executable('test-mapped-ring-buffer', 'test-mapped-ring-buffer.c',
|
||||
c_args: test_cflags,
|
||||
dependencies: [libsysprof_capture_dep],
|
||||
dependencies: test_capture_deps,
|
||||
)
|
||||
|
||||
find_temp_allocs = executable('find-temp-allocs', 'find-temp-allocs.c',
|
||||
c_args: test_cflags,
|
||||
dependencies: [libsysprof_capture_dep],
|
||||
dependencies: test_capture_deps,
|
||||
)
|
||||
|
||||
test('test-capture', test_capture, env: test_env)
|
||||
|
||||
Reference in New Issue
Block a user