2017-11-03 22:53:59

by Shuah Khan

[permalink] [raw]
Subject: [PATCH 0/2] Handling for TAP header level

This first patch in this series adds 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.

The second patch in this series changes lib.mk run_tests target to set
KSFT_TAP_LEVEL before running tests.

Shuah Khan (2):
selftests: kselftest framework: add handling for TAP header level
selftests: lib.mk set KSFT_TAP_LEVEL to prevent nested TAP headers

tools/testing/selftests/kselftest.h | 3 ++-
tools/testing/selftests/lib.mk | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)

--
2.11.0


From 1583311008924483163@xxx Mon Nov 06 10:10:44 +0000 2017
X-GM-THRID: 1583311008924483163
X-Gmail-Labels: Inbox,Category Promotions,HistoricalUnread