pmem / run_qemu

A script to create bootable OS images, and run qemu with a locally built kernel.
Creative Commons Zero v1.0 Universal
58 stars 22 forks source link

run_qemu: Add kernel selftests build option #29

Closed weiny2 closed 1 year ago

weiny2 commented 1 year ago

Testing of core kernel functionality is often implemented in the kernel selftests located in source sub-tree tools/testing/selftests.

Running these tests are often required to properly ensure kernel changes have not created a regression.

Add --kern-selftests option to include a build of the kernel selftests in the root home dir of the qemu build. Due to the lengthy build time the default for this option is 'off'.

Signed-off-by: Ira Weiny ira.weiny@intel.com