Skip to content
Snippets Groups Projects
Verified Commit 8626205a authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

modules/meson.build: move test definitions closer to modules

parent a778bb67
Branches
Tags
1 merge request!971modules/meson.build: move test definitions closer to modules
Pipeline #61884 failed with stages
in 1 hour, 16 minutes, and 31 seconds
......@@ -14,3 +14,7 @@ bogus_log_mod = shared_module(
install: true,
install_dir: modules_dir,
)
integr_tests += [
['bogus_log', join_paths(meson.current_source_dir(), 'test.integr')],
]
......@@ -6,6 +6,10 @@ config_tests += [
['daf_http', files('daf_http.test.lua')],
]
integr_tests += [
['daf', join_paths(meson.current_source_dir(), 'test.integr')],
]
lua_mod_src += [
files('daf.lua'),
]
......
......@@ -17,3 +17,7 @@ hints_mod = shared_module(
install: true,
install_dir: modules_dir,
)
config_tests += [
['hints', files('tests/hints.test.lua'), ['skip_asan']],
]
......@@ -20,18 +20,15 @@ lua_mod_src = [ # add lua modules without separate meson.build
files('workarounds/workarounds.lua'),
]
# When adding tests, prefer to use module's meson.build (if it exists).
config_tests += [
['predict', files('predict/predict.test.lua')],
['hints', files('hints/tests/hints.test.lua'), ['skip_asan']],
['nsid', files('nsid/nsid.test.lua')],
['dns64', files('dns64/dns64.test.lua')],
['ta_update', files('ta_update/ta_update.test.lua'), ['snowflake']],
['prefill', files('prefill/prefill.test/prefill.test.lua')],
]
integr_tests += [
['bogus_log', join_paths(meson.current_source_dir(), 'bogus_log', 'test.integr')],
['daf', join_paths(meson.current_source_dir(), 'daf', 'test.integr')],
['rebinding', join_paths(meson.current_source_dir(), 'rebinding', 'test.integr')],
['serve_stale', join_paths(meson.current_source_dir(), 'serve_stale', 'test.integr')],
# NOTE: ta_update may pass in cases when it should fail due to race conditions
......
......@@ -17,3 +17,7 @@ nsid_mod = shared_module(
install: true,
install_dir: modules_dir,
)
config_tests += [
['nsid', files('nsid.test.lua')],
]
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment