diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-05-11 15:55:54 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-05-14 12:43:28 +0200 |
commit | 5748f13e547baa12a83cb3c3530ec1d6c99906c7 (patch) | |
tree | 98168e62a299d2bd79eee6b68cb90cbd3ed22d67 /test/TEST-06-SELINUX | |
parent | TEST-01-BASIC: Drop logic to run test without install-tests=true (diff) | |
download | systemd-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-06-SELINUX')
-rw-r--r-- | test/TEST-06-SELINUX/meson.build | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/test/TEST-06-SELINUX/meson.build b/test/TEST-06-SELINUX/meson.build index a62d144048..408e41ff28 100644 --- a/test/TEST-06-SELINUX/meson.build +++ b/test/TEST-06-SELINUX/meson.build @@ -1,7 +1,12 @@ # SPDX-License-Identifier: LGPL-2.1-or-later -test_params += { - 'mkosi_args' : ['--kernel-command-line-extra=apparmor=0 selinux=1 enforcing=0 lsm=selinux systemd.wants=autorelabel.service systemd.wants=firstboot-autorelabel.service'], - # FIXME; Figure out why reboot sometimes hangs with 'linux' firmware. - 'firmware' : 'uefi', -} +integration_tests += [ + integration_test_template + { + 'name' : fs.name(meson.current_source_dir()), + 'mkosi_args' : integration_test_template['mkosi_args'] + [ + '--kernel-command-line-extra=apparmor=0 selinux=1 enforcing=0 lsm=selinux systemd.wants=autorelabel.service systemd.wants=firstboot-autorelabel.service' + ], + # FIXME; Figure out why reboot sometimes hangs with 'linux' firmware. + 'firmware' : 'uefi', + }, +] |