Message ID | 20220819110939.78013-10-likexu@tencent.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | x86/pmu: Test case optimization, fixes and additions | expand |
On Fri, Aug 19, 2022, Like Xu wrote: > From: Like Xu <likexu@tencent.com> > > The test conclusion of running Intel LBR on AMD platforms > should not be PASS, but SKIP, fix it. > > Signed-off-by: Like Xu <likexu@tencent.com> > --- Reviewed-by: Sean Christopherson <seanjc@google.com>
diff --git a/x86/pmu_lbr.c b/x86/pmu_lbr.c index 8dad1f1..4a9e24d 100644 --- a/x86/pmu_lbr.c +++ b/x86/pmu_lbr.c @@ -59,7 +59,7 @@ int main(int ac, char **av) if (!is_intel()) { report_skip("PMU_LBR test is for intel CPU's only"); - return 0; + return report_summary(); } if (!this_cpu_has_pmu()) {