Fix build, logging and added some coverage report (I should do more commits)
All checks were successful
Build ptprnt / build (push) Successful in 1m49s

This commit is contained in:
2023-11-16 20:58:31 +01:00
parent 9a1aee6658
commit a620871b2f
5 changed files with 38 additions and 45 deletions

View File

@@ -1,6 +1,6 @@
tests = [['bitmap_test', 'bitmap_test_exe', ['bitmap_test/bitmap_test.cpp']],
['image_test', 'image_test_exe', ['image_test/image_test.cpp']],
['monochrome_test', 'monochrome_test_exe', ['monochrome_test/monochrome_test.cpp']]
tests = [['bitmap_test', 'bitmap_test_exe', ptprnt_srcs + ['bitmap_test/bitmap_test.cpp']],
['image_test', 'image_test_exe', ptprnt_srcs +['image_test/image_test.cpp']],
['monochrome_test', 'monochrome_test_exe', ptprnt_srcs +['monochrome_test/monochrome_test.cpp']]
]
foreach test : tests
@@ -8,8 +8,7 @@ foreach test : tests
executable(test.get(1),
sources: test.get(2),
include_directories: incdir,
link_with:[ptprnt_lib],
dependencies: [gtest_dep, pangocairo_dep]
dependencies: [gtest_dep, usb_dep, log_dep, pangocairo_dep, cli11_dep]
)
)
endforeach