[PATCH v5 0/3] Add metric value validation test

From: Weilin Wang
Date: Tue Jun 20 2023 - 13:00:42 EST


This is the fifth version of metric value validation tests.

We made the following changes from v4 to v5:
- Update "()" to "{}" to avoid creating sub shell and successfully skip test on non-Intel
platform. [Ravi]

v4: https://lore.kernel.org/lkml/20230618172820.751560-1-weilin.wang@xxxxxxxxx/

Weilin Wang (3):
perf test: Add metric value validation test
perf test: Add skip list for metrics known would fail
perf test: Rerun failed metrics with longer workload

.../tests/shell/lib/perf_metric_validation.py | 574 ++++++++++++++++++
.../lib/perf_metric_validation_rules.json | 398 ++++++++++++
tools/perf/tests/shell/stat_metrics_values.sh | 30 +
3 files changed, 1002 insertions(+)
create mode 100644 tools/perf/tests/shell/lib/perf_metric_validation.py
create mode 100644 tools/perf/tests/shell/lib/perf_metric_validation_rules.json
create mode 100755 tools/perf/tests/shell/stat_metrics_values.sh


base-commit: 7cdda6998ee55140e64894e25048df7157344fc9
--
2.39.1