The Linux Kernel Validation Suite (LKVS) is a Linux Kernel test suite. It is a working project created by the Intel Core Linux Kernel Val Team. The purpose is to improve the quality of Intel-contributed Linux Kernel code. Furthermore, it shows the customer how to use or validate the features.
More details please refer to following.
- AMX(Advanced Matrix Extensions)
- cet(Control flow Enhancement Technology)
- cstate
- Intel_TH(Trace Hub)
- Intel_PT
- UMIP(User-Mode Instruction Prevention)
- xsave
git clone https://github.com/intel/lkvs.git
cd lkvs
make
make docker_image
make docker_make
cd lkvs/<test>
make
There're two ways to run the tests.
Normally, there're one or more executable binaries or scirpts in a sub-project, once it is compiled successfully. The easiest way is to run them directly.
runtests is a straightforward test runner that can execute a single or a set of test cases and redirect the log.
There are 2 ways to pass test to runtests:
-c
: Pass test cmdline.-f <component/tests*>
: thetests*
file under each component folder records the detailed test cmd lines.
Output of tests can be saved in a file using -o
option.
Examples:
$ ./runtests -f <cmdfile>
$ ./runtests -f <cmdfile> -o <logfile>
$ ./runtests -c <cmdline>
$ ./runtests -c <cmdline> -o <logfile>
Submit an issue or initiate a discussion.
Any pull request are welcomed, the canonical patch format please refer to the Kernel patches submitting
See LICENSE for details.