On 7/8/2022 11:51 PM, Sean Christopherson wrote:
On Fri, Jul 08, 2022, Yang Weijiang wrote:
report_skip() prints message with "SKIP:" prefix to explictly
tell which test is skipped, making the report screening easier.
Suggested-by: Sean Christopherson <seanjc@xxxxxxxxxx>
Signed-off-by: Yang Weijiang <weijiang.yang@xxxxxxxxx>
---
x86/vmx_tests.c | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/x86/vmx_tests.c b/x86/vmx_tests.c
index 4d581e7..27ab5ed 100644
--- a/x86/vmx_tests.c
+++ b/x86/vmx_tests.c
@@ -4107,7 +4107,7 @@ static void test_vpid(void)
int i;
if (!is_vpid_supported()) {
- printf("Secondary controls and/or VPID not supported\n");
+ report_skip("Secondary controls and/or VPID not supported\n");
All of the manual newlines need to be dropped, report_skip() automatically inserts
a newline.
Thanks Sean. I've rebuilt the whole series and posted the new one here:
-----https://lore.kernel.org/all/20220711041841.126648-1-weijiang.yang@xxxxxxxxx