summaryrefslogtreecommitdiffstats
path: root/test/integration-test-wrapper.py
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-05 18:14:44 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-06 11:57:09 +0200
commit1f2c9bda495e062c34b891ca8e77ce0ec43a5012 (patch)
treee7eebc268dc016ed595a3002812df5d88621ee25 /test/integration-test-wrapper.py
parentTEST-46-HOMED: Skip barely fits test on ext4 (diff)
downloadsystemd-1f2c9bda495e062c34b891ca8e77ce0ec43a5012.tar.xz
systemd-1f2c9bda495e062c34b891ca8e77ce0ec43a5012.zip
test: Default to linux qemu firmware
Direct kernel boot results in much faster boot times so let's use it by default. We disable it for tests that need to reboot because +-50% of the time, doing a reboot when using direct kernel boot causes qemu to hang on reboot. Until we figure that out, let's use UEFI for the tests that need to reboot.
Diffstat (limited to 'test/integration-test-wrapper.py')
-rwxr-xr-xtest/integration-test-wrapper.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integration-test-wrapper.py b/test/integration-test-wrapper.py
index a32210c06f..575403344e 100755
--- a/test/integration-test-wrapper.py
+++ b/test/integration-test-wrapper.py
@@ -48,6 +48,7 @@ def main():
parser.add_argument('--test-name', required=True)
parser.add_argument('--test-number', required=True)
parser.add_argument('--storage', required=True)
+ parser.add_argument('--firmware', required=True)
parser.add_argument('mkosi_args', nargs="*")
args = parser.parse_args()
@@ -119,6 +120,7 @@ def main():
'--runtime-network=none',
'--runtime-scratch=no',
'--append',
+ '--qemu-firmware', args.firmware,
'--kernel-command-line-extra',
' '.join([
'systemd.hostname=H',