summaryrefslogtreecommitdiffstats
path: root/test/TEST-55-OOMD
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-11 15:55:54 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-14 12:43:28 +0200
commit5748f13e547baa12a83cb3c3530ec1d6c99906c7 (patch)
tree98168e62a299d2bd79eee6b68cb90cbd3ed22d67 /test/TEST-55-OOMD
parentTEST-01-BASIC: Drop logic to run test without install-tests=true (diff)
downloadsystemd-5748f13e547baa12a83cb3c3530ec1d6c99906c7.tar.xz
systemd-5748f13e547baa12a83cb3c3530ec1d6c99906c7.zip
test: Rework integration test definitions
Let's make this behave more like all the rest of the meson stuff. This also is the first step to making it a bit more flexible so we can define integration tests in different ways as will be seen in the next commits.
Diffstat (limited to 'test/TEST-55-OOMD')
-rw-r--r--test/TEST-55-OOMD/meson.build13
1 files changed, 8 insertions, 5 deletions
diff --git a/test/TEST-55-OOMD/meson.build b/test/TEST-55-OOMD/meson.build
index 86a0d8f957..132a6b3080 100644
--- a/test/TEST-55-OOMD/meson.build
+++ b/test/TEST-55-OOMD/meson.build
@@ -1,7 +1,10 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
-test_params += {
- 'mkosi_args' : test_params['mkosi_args'] + [
- '--credential=@0@'.format(meson.current_source_dir() / 'systemd.unit-dropin.init.scope')
- ]
-}
+integration_tests += [
+ integration_test_template + {
+ 'name' : fs.name(meson.current_source_dir()),
+ 'mkosi_args' : integration_test_template['mkosi_args'] + [
+ '--credential=@0@'.format(meson.current_source_dir() / 'systemd.unit-dropin.init.scope')
+ ]
+ },
+]