From b7ed11552b62fcdb092d611c1fe73ce63b35781b Mon Sep 17 00:00:00 2001 From: Benjamin Welton Date: Wed, 17 Apr 2024 08:54:56 -0700 Subject: [PATCH] Small error printout on test (#781) [ROCm/rocprofiler-sdk commit: d173dd5c04b99f46ad762c5c9543a38680e1a83a] --- .../source/lib/rocprofiler-sdk/counters/tests/metrics_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/counters/tests/metrics_test.cpp b/projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/counters/tests/metrics_test.cpp index b38c37e346..eb51cf8356 100644 --- a/projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/counters/tests/metrics_test.cpp +++ b/projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/counters/tests/metrics_test.cpp @@ -172,7 +172,8 @@ TEST(metrics, check_agent_valid) for(const auto& metric : other_counters) { if(common_metrics.count(metric.id())) continue; - EXPECT_EQ(counters::checkValidMetric(gfx, metric), false); + EXPECT_EQ(counters::checkValidMetric(gfx, metric), false) + << fmt::format("GFX {} has Metric {} but shouldn't", gfx, metric); } } }