tests: add util to extract build-id

Easier to remember than readelf stuff and tests the same code paths.
This commit is contained in:
Christian Hergert
2021-09-16 22:59:22 -07:00
parent 4d12f9eea7
commit 5f43a57ab0
2 changed files with 57 additions and 0 deletions

View File

@ -95,6 +95,11 @@ memory_stack_stash = executable('memory-stack-stash', 'memory-stack-stash.c',
dependencies: test_deps,
)
read_build_id = executable('read-build-id', 'read-build-id.c',
c_args: test_cflags,
dependencies: test_deps,
)
show_page_usage = executable('show-page-usage', 'show-page-usage.c',
c_args: test_cflags,
dependencies: test_deps + [dependency('cairo')],