summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavide Caratti <dcaratti@redhat.com>2023-03-29 12:54:53 +0300
committerJakub Kicinski <kuba@kernel.org>2023-03-31 09:24:24 +0300
commit7f3f86402609315d6b98f6c76713e07b5a9562aa (patch)
treebc6c6039080c77cfece42914434d651f9ea7ed0f /tools/perf/scripts/python
parent2384127e98db52a6ac2577924ad9cae25f3e7472 (diff)
downloadlinux-7f3f86402609315d6b98f6c76713e07b5a9562aa.tar.xz
selftests: tc-testing: add "depends_on" property to skip tests
currently, users can skip individual test cases by means of writing "skip": "yes" in the scenario file. Extend this functionality, introducing 'dependsOn': it's optional property like "skip", but the value contains a command (for example, a probe on iproute2 to check if it supports a specific feature). If such property is present, tdc executes that command and skips the test when the return value is non-zero. Reviewed-by: Pedro Tammela <pctammela@mojatatu.com> Signed-off-by: Davide Caratti <dcaratti@redhat.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions