diff options
author | John Turner <jturner.usa@gmail.com> | 2025-09-20 11:44:27 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2025-09-20 11:44:27 -0400 |
commit | 439f5d9a33b19be4a7159c4518563d8e99fbba2a (patch) | |
tree | f6a16e6c71f3bd5e4fac8fc04fff95e80157c2ed /tests/meson.build | |
parent | 93270c7949ac2555ce8371382b6dcf7638b78487 (diff) | |
download | pypaste-439f5d9a33b19be4a7159c4518563d8e99fbba2a.tar.gz |
use foreach loop to create meson test targets
Diffstat (limited to 'tests/meson.build')
-rw-r--r-- | tests/meson.build | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/meson.build b/tests/meson.build index 6787668..e39a559 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -1,3 +1,6 @@ -test_server = find_program('test_server.py') +tests = files('test_server.py') -test('test_server', test_server) +foreach test : tests + name = fs.stem(test) + test(name, python, args: [test]) +endforeach |