diff options
author | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-04-24 14:57:36 -0600 |
---|---|---|
committer | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-05-30 15:21:51 -0600 |
commit | 3f4435b5149372b3bbc5acab5c835d490490d6bc (patch) | |
tree | 9c74628cb719cc8ae3f59459648b48a015d6b07d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 42b44c34136857ccdf90ebb1cbc38f2bf0aec7a1 (diff) |
selftests: lib.mk: add SKIP handling to RUN_TESTS define
RUN_TESTS which is the common function that implements run_tests target,
treats all non-zero return codes from tests as failures. When tests are
skipped with non-zero return code, because of unmet dependencies and/or
unsupported configuration, it reports them as failed. This will lead to
too many false negatives even on the tests that couldn't be run.
RUN_TESTS is changed to test for SKIP=4 return from tests to enable the
framework for individual tests to return special SKIP code.
Tests will be changed as needed to report SKIP instead FAIL/PASS when
they get skipped.
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions