diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2018-02-21 17:11:54 -0700 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2018-03-05 19:10:27 -0700 |
commit | 10f531f6748228583b8c4244216e9e3f34d47379 (patch) | |
tree | 9559c3f7ee7821c2f956b83f41c46083f1898c04 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | ac93f7046a5371ff08268965c9a696bf97bec105 (diff) |
selftests: kselftest framework: add handling for TAP header level
Introduce environment variable KSFT_TAP_LEVEL to avoid printing
nested TAP headers for each test. lib.mk run_tests target prints
TAP header before invoking the test program or test script. Tests
need a way to suppress TAP headers if it is already printed out.
This new environment variable adds a way for ksft_print_header()
print TAP header only when KSFT_TAP_LEVEL isn't set.
lib.mk run_tests and test program should print TAP header and set
KSFT_TAP_LEVEL to avoid a second TAP header to be printed.
selftests Makefile should export KSFT_TAP_LEVEL and add TAP Header
echo to the run_kselftest.sh script from emit_tests target handling.
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions