Files
MeanField_SERiF/tests/utils/meson.build
Emily Boudreaux cb20faeb3d test(tests): added test suite
The test suite is extensive. Note that LLMs were used to aid in the development of the test suite. All LLM generated code was manually reviewed.
2026-11-09 13:53:17 -05:00

37 lines
1.1 KiB
Meson

dependency_test_sources = files(
'dependencies/ownership.cpp',
'dependencies/context.cpp',
'dependencies/preparation.cpp',
'dependencies/snapshots.cpp',
'dependencies/rejection.cpp',
'dependencies/mixed_errors.cpp',
'dependencies/reachability.cpp',
'dependencies/observers.cpp',
)
# The dependency machinery must remain usable without linking MFEM or SERiF.
serif_dependency_tests = executable(
'serif_dependency_tests',
dependency_test_sources,
include_directories: include_dir,
dependencies: [catch2_dep, magic_enum_dep, nameof_dep],
)
test('serif_dependency_tests', serif_dependency_tests, suite: 'unit', timeout: 30)
radial_test_sources = files(
'laneemden/solution.cpp',
'laneemden/formatting.cpp',
'laneemden/scaling.cpp',
'projection/radial.cpp',
'projection/nonconforming.cpp',
)
serif_radial_tests = executable(
'serif_radial_tests',
radial_test_sources,
dependencies: [serif_dep, catch2_dep, stroid_dep],
include_directories: include_directories('../include'),
build_rpath: mfem_runtime_prefix == '' ? '' : mfem_runtime_prefix / 'lib',
)
test('serif_radial_tests', serif_radial_tests, suite: 'unit', timeout: 60)