mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
This allows external tooling to write capture files that Sysprof can open. Ideally, this will get used by GJS in the near future to implement profiler output for Sysprof.
41 lines
1.0 KiB
Meson
41 lines
1.0 KiB
Meson
test_env = [
|
|
'G_TEST_SRCDIR="@0@"'.format(meson.current_source_dir()),
|
|
'G_TEST_BUILDDIR="@0@"'.format(meson.current_build_dir()),
|
|
'G_DEBUG=gc-friendly',
|
|
'GSETTINGS_BACKEND=memory',
|
|
'MALLOC_CHECK_=2',
|
|
]
|
|
|
|
test_capture = executable('test-capture',
|
|
'test-capture.c',
|
|
dependencies: libsysprof_capture_dep,
|
|
)
|
|
test('test-capture', test_capture, env: test_env)
|
|
|
|
test_capture_cursor = executable('test-capture-cursor',
|
|
'test-capture-cursor.c',
|
|
dependencies: libsysprof_dep,
|
|
)
|
|
test('test-capture-cursor', test_capture_cursor, env: test_env)
|
|
|
|
if get_option('enable_gtk')
|
|
|
|
test_model_filter = executable('test-model-filter',
|
|
'test-model-filter.c',
|
|
dependencies: libsysprof_ui_dep,
|
|
)
|
|
test('test-model-filter', test_model_filter, env: test_env)
|
|
|
|
test_process_model = executable('test-process-model',
|
|
'test-process-model.c',
|
|
dependencies: libsysprof_ui_dep,
|
|
)
|
|
|
|
test_zoom = executable('test-zoom',
|
|
'test-zoom.c',
|
|
dependencies: libsysprof_ui_dep,
|
|
)
|
|
test('test-zoom', test_zoom, env: test_env)
|
|
|
|
endif
|