Add x52bugreport to tests to get code coverage

migrate-to-meson-build
nirenjan 2024-06-21 09:55:34 -07:00
parent a11b6a3160
commit e9d04efeb3
1 changed files with 4 additions and 1 deletions

View File

@ -233,13 +233,16 @@ pkgconfig.generate(lib_libx52util)
# Programs
#######################################################################
# x52bugreport
executable('x52bugreport', 'bugreport/bugreport.c',
exe_bugreport = executable('x52bugreport', 'bugreport/bugreport.c',
install: true,
extra_files: ['bugreport/bugreport.dox'],
include_directories: 'libx52io',
dependencies: [dep_libusb, dep_hidapi],
link_with: [lib_libx52io])
# Test only to get code coverage
test('x52bugreport', exe_bugreport, protocol:'exitcode')
# x52cli
executable('x52cli', 'cli/x52_cli.c',
install: true,