2018-05-29 11:38+0300, Dima Stepanov: > During custom linux kernel development it was found out that sometimes it > is really useful to exclude the tests from automatic CI step. It is not > always easy to modify the unittest.cfg file so the exclude options were > added to the test framework: > -x: Exclude tests from running > -e: Exclude test groups from running > As a result the command like: > ./run_tests.sh -e "vmexit vmx" -x "apic vmware_backdoors" > Will exclude apic and vmware_backdoors tests from running. And will > exclude vmexit and vmx groups from running. > The changes below are to share the fix for the kvm unit test framework. > > Changes v2: > - Update usage message for the -a option > - Remove skip_nodefaul call for the exclude_groups and exclude_tests > check > - Update skip output message: "(test group is excluded by -e)" and > "(test is excluded by -x)" > > Add to custom options to exclude tests or groups from running. It can be > useful for running the tests automatically in the custom environment > without modifying the unittest.cfg file. > > Signed-off-by: Dima Stepanov <dstepanov.src@xxxxxxxxx> > --- Looks good, Reviewed-by: Radim Krčmář <rkrcmar@xxxxxxxxxx> Thanks.