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

From: Weilin Wang
Date: Fri Jun 09 2023 - 12:26:41 EST


This is the second version of metric value validation tests.

We made the following changes from v1 to v2:
- Add python setting check [Ian]
- Skip non-Intel architectures [Ian]
- Rename allowlist to skiplist [Ian]

v1: https://lore.kernel.org/lkml/20230606202421.2628401-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