Files
ptprnt/tests/meson.build
Moritz Martinius d8467b8984
All checks were successful
Build ptprnt / build (push) Successful in 2m10s
remove-dependencies (#20)
Reviewed-on: #20
2025-10-19 11:35:00 +00:00

30 lines
682 B
Meson

# Consolidated test binary - all tests in one executable for faster linking
test_sources = [
# Test files
'bitmap_test/bitmap_test.cpp',
'monochrome_test/monochrome_test.cpp',
'label_test/label_test.cpp',
# Source files under test
'../src/graphics/Bitmap.cpp',
'../src/graphics/Monochrome.cpp',
'../src/graphics/Label.cpp',
]
test_exe = executable(
'ptprnt_tests',
sources: test_sources,
include_directories: incdir,
dependencies: [
gmock_dep, # GMock includes GTest
usb_dep,
log_dep,
pangocairo_dep,
cli11_dep,
],
)
# Single test that runs all test suites
test('all_tests', test_exe)