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.
25 lines
1.4 KiB
Meson
25 lines
1.4 KiB
Meson
serif_serialization_tests = executable(
|
|
'serif_serialization_tests',
|
|
['archive.cpp', 'components.cpp', 'top.cpp'],
|
|
dependencies: [serif_core_dep, catch2_dep],
|
|
)
|
|
test('serif_serialization_tests', serif_serialization_tests, suite: 'serialize', timeout: 120)
|
|
|
|
serif_mfem_serialization_tests = executable(
|
|
'serif_mfem_serialization_tests',
|
|
['mfem.cpp', 'restart.cpp', 'top_mfem.cpp'],
|
|
dependencies: [serif_dep, catch2_dep, stroid_dep],
|
|
include_directories: include_directories('../include'),
|
|
build_rpath: mfem_runtime_prefix == '' ? '' : mfem_runtime_prefix / 'lib',
|
|
)
|
|
test('serif_mfem_serialization_tests', serif_mfem_serialization_tests, args: ['~[moving_restart]'], suite: 'serialize', timeout: 300, is_parallel: false)
|
|
test('serif_moving_restart_tests', serif_mfem_serialization_tests, args: ['[moving_restart]'], suite: 'serialize', timeout: 1800, is_parallel: false)
|
|
|
|
serialization_fixture = executable('serialization_fixture', 'write_fixture.cpp', dependencies: serif_core_dep)
|
|
test('serif_python_archive_reader', python_build,
|
|
args: [files('python_reader.py'), serialization_fixture, files('../../tools/read_serif_archive.py')],
|
|
suite: 'serialize', timeout: 30)
|
|
|
|
# Optional actual TOP-reader check: run top_reader.py in a compatible TOP environment.
|
|
top_export_fixture = executable('top_export_fixture', 'write_top_fixture.cpp', dependencies: serif_core_dep)
|