summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rwxr-xr-xscripts/check-qemu-install2
2 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5ba003d0..f9b5903f 100644
--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,11 @@ testc: checkiso
testraid: checkiso
scripts/check-qemu-install --debug --configd --raid --configtest build/live-image-amd64.hybrid.iso
+.PHONY: qemu-live
+.ONESHELL:
+qemu-live: checkiso
+ scripts/check-qemu-install --qemu-cmd build/live-image-amd64.hybrid.iso
+
.PHONY: clean
.ONESHELL:
clean:
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install
index cc2c3cc5..e8a7cc6f 100755
--- a/scripts/check-qemu-install
+++ b/scripts/check-qemu-install
@@ -272,7 +272,7 @@ gen_disk(args.disk)
if args.qemu_cmd:
tmp = get_qemu_cmd('TESTVM', kvm, args.uefi, args.disk, diskname_raid, args.iso)
- print(tmp)
+ os.system(tmp)
exit(0)
test_timeout = 3 *3600 # 3 hours (in seconds)