Files
matar/tests/meson.build
Amneesh Singh fa96a4d09f tests: add execution tests
all but data processing

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-09-18 18:23:52 +05:30

22 lines
402 B
Meson

tests_deps = [
lib
]
src = include_directories('../src')
tests_sources = files()
subdir('cpu')
catch2 = dependency('catch2-with-main', version: '>=3.4.0', static: true)
catch2_tests = executable(
meson.project_name() + '_tests',
tests_sources,
dependencies: catch2,
link_with: tests_deps,
include_directories: [inc, src],
build_by_default: false
)
test('catch2 tests', catch2_tests)