All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Handling for TAP header level
@ 2018-02-23 22:11 ` Shuah Khan
  0 siblings, 0 replies; 30+ messages in thread
From: shuahkh @ 2018-02-23 22:11 UTC (permalink / raw)


This patch series is a result discussion with Tim Bird about nested TAP
header handling. Based on the discussion, I am introducing a environment
variable to prevent nested TAP headers. These patches improve the run_tests
output and the output from the script generated by emit_tests.
    
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.

The third patch changes Makefile to export KSFT_TAP_LEVEL and adds
TAP and KSFT_TAP_LEVEL handling to emit_tests target.
 
Forth and fifth patches make changes to size and futex tests to
prevent nested TAP headers to take advantage of the framework
change in the first patch.

Shuah Khan (5):
  selftests: kselftest framework: add handling for TAP header level
  selftests: lib.mk set KSFT_TAP_LEVEL to prevent nested TAP headers
  selftests: Makefile set KSFT_TAP_LEVEL to prevent nested TAP headers
  selftests: size call ksft_print_header() to print TAP header
  selftests: futex Makefile add top level TAP header echo to RUN_TESTS

 tools/testing/selftests/Makefile        | 10 +++++++++-
 tools/testing/selftests/futex/Makefile  |  3 +++
 tools/testing/selftests/kselftest.h     |  3 ++-
 tools/testing/selftests/lib.mk          |  1 +
 tools/testing/selftests/size/get_size.c |  4 +++-
 5 files changed, 18 insertions(+), 3 deletions(-)

-- 
2.14.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2018-03-06  0:17 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-23 22:11 [PATCH 0/5] Handling for TAP header level shuahkh
2018-02-23 22:11 ` Shuah Khan
2018-02-23 22:11 ` Shuah Khan
2018-02-23 22:11 ` [PATCH 1/5] selftests: kselftest framework: add handling " shuahkh
2018-02-23 22:11   ` Shuah Khan
2018-02-23 22:11   ` Shuah Khan
2018-02-23 22:11 ` [PATCH 2/5] selftests: lib.mk set KSFT_TAP_LEVEL to prevent nested TAP headers shuahkh
2018-02-23 22:11   ` Shuah Khan
2018-02-23 22:11   ` Shuah Khan
2018-02-23 22:11 ` [PATCH 3/5] selftests: Makefile " shuahkh
2018-02-23 22:11   ` Shuah Khan
2018-02-23 22:11   ` Shuah Khan
2018-02-23 22:11 ` [PATCH 4/5] selftests: size call ksft_print_header() to print TAP header shuahkh
2018-02-23 22:11   ` Shuah Khan
2018-02-23 22:11   ` Shuah Khan
2018-02-23 22:11 ` [PATCH 5/5] selftests: futex Makefile add top level TAP header echo to RUN_TESTS shuahkh
2018-02-23 22:11   ` Shuah Khan
2018-02-23 22:11   ` Shuah Khan
2018-02-24 21:42   ` dvhart
2018-02-24 21:42     ` Darren Hart
2018-02-24 21:42     ` Darren Hart
2018-02-27 17:25     ` shuahkh
2018-02-27 17:25       ` Shuah Khan
2018-02-27 17:25       ` Shuah Khan
2018-03-06  0:17       ` dvhart
2018-03-06  0:17         ` Darren Hart
2018-03-06  0:17         ` Darren Hart
2018-02-24  8:39 ` [PATCH 0/5] Handling for TAP header level mingo
2018-02-24  8:39   ` Ingo Molnar
2018-02-24  8:39   ` Ingo Molnar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.