26 lines
961 B
Diff
26 lines
961 B
Diff
|
From a36cb5660e4d84c16242c1d70b99d9a2e389f191 Mon Sep 17 00:00:00 2001
|
||
|
From: Luca Boccassi <bluca@debian.org>
|
||
|
Date: Sun, 16 Jun 2024 19:15:24 +0100
|
||
|
Subject: [PATCH] test: support TEST_NO_KVM
|
||
|
|
||
|
The shell integration suite allows to manually deselect KVM, so
|
||
|
suppor the same env var for the same purpose in python.
|
||
|
|
||
|
(cherry picked from commit 7d2701e7d1d0a7194026dd371071df6e63f59a82)
|
||
|
---
|
||
|
test/integration-test-wrapper.py | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/test/integration-test-wrapper.py b/test/integration-test-wrapper.py
|
||
|
index 1e015e7d47..15b1ce1055 100755
|
||
|
--- a/test/integration-test-wrapper.py
|
||
|
+++ b/test/integration-test-wrapper.py
|
||
|
@@ -124,6 +124,7 @@ def main():
|
||
|
*args.mkosi_args,
|
||
|
'--append',
|
||
|
'--qemu-firmware', args.firmware,
|
||
|
+ '--qemu-kvm', "auto" if not bool(int(os.getenv("TEST_NO_KVM", "0"))) else "no",
|
||
|
'--kernel-command-line-extra',
|
||
|
' '.join([
|
||
|
'systemd.hostname=H',
|