aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorVeronika Molnarova <[email protected]>2024-02-15 12:02:29 +0100
committerNamhyung Kim <[email protected]>2024-02-16 11:49:36 -0800
commit61d348f1e96fe11ba7d3714bcc700d8fd71aa17e (patch)
tree1a345ee842cbd17a45732cebf835410cfb854525 /tools/perf/scripts/python/netdev-times.py
parentc8eb2a9ff8b30957d90c941cb4f0caac705ceffb (diff)
perf testsuite: Add common output checking helpers
As a form of validation, it is a common practice to check the outputs of commands whether they contain expected patterns or match a certain regex. Add helpers for verifying that all regexes are found in the output, that all lines match any pattern from a set and that a certain expression is not present in the output. In verbose mode these helpers log mismatches for easier failure investigation. Signed-off-by: Veronika Molnarova <[email protected]> Signed-off-by: Michael Petlan <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions