Skip to content
Success

Changes

Summary

  1. kernel-test: don't try to use KVM if not available (details)
Commit cb2a8326c14523266d48ab8cb9a8d34a5a3cc7ae by Oliver Smith
kernel-test: don't try to use KVM if not available

Disable KVM if /dev/kvm is missing, as it is apparently the case on our
jenkins nodes. This makes the tests run a bit slower, but not much. Add
kernel_test_wait_for_vm to sleep until the VM is booted up (~5s instead
of ~1s without KVM), so the first test in the testsuite does not fail
when using KVM.

The variable is useful to test the non-KVM code path even if KVM is
available on the host.

Related: OS#3208
Change-Id: I1f337af1e2de6db05b22636bc31a535404235559
The file was modifiedREADME.md
The file was modifiedscripts/kernel-test/run-qemu.sh
The file was modifiedscripts/kernel-test/initrd-init.sh
The file was modifiedttcn3-ggsn-test/jenkins.sh
The file was modifiedjenkins-common.sh