mirror of https://github.com/nirenjan/libx52.git
Add x52bugreport to tests to get code coverage
parent
a11b6a3160
commit
e9d04efeb3
|
@ -233,13 +233,16 @@ pkgconfig.generate(lib_libx52util)
|
||||||
# Programs
|
# Programs
|
||||||
#######################################################################
|
#######################################################################
|
||||||
# x52bugreport
|
# x52bugreport
|
||||||
executable('x52bugreport', 'bugreport/bugreport.c',
|
exe_bugreport = executable('x52bugreport', 'bugreport/bugreport.c',
|
||||||
install: true,
|
install: true,
|
||||||
extra_files: ['bugreport/bugreport.dox'],
|
extra_files: ['bugreport/bugreport.dox'],
|
||||||
include_directories: 'libx52io',
|
include_directories: 'libx52io',
|
||||||
dependencies: [dep_libusb, dep_hidapi],
|
dependencies: [dep_libusb, dep_hidapi],
|
||||||
link_with: [lib_libx52io])
|
link_with: [lib_libx52io])
|
||||||
|
|
||||||
|
# Test only to get code coverage
|
||||||
|
test('x52bugreport', exe_bugreport, protocol:'exitcode')
|
||||||
|
|
||||||
# x52cli
|
# x52cli
|
||||||
executable('x52cli', 'cli/x52_cli.c',
|
executable('x52cli', 'cli/x52_cli.c',
|
||||||
install: true,
|
install: true,
|
||||||
|
|
Loading…
Reference in New Issue