Skip to content

Commit f41c322

Browse files
keesshuahkh
authored andcommitted
selftests: Remove KSFT_TAP_LEVEL
Since sub-testing can now be detected by indentation level, this removes KSFT_TAP_LEVEL so that subtests report their TAP header for later parsing. Signed-off-by: Kees Cook <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent 5c069b6 commit f41c322

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

tools/testing/selftests/Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,6 @@ else
8686
endif
8787
endif
8888

89-
# KSFT_TAP_LEVEL is used from KSFT framework to prevent nested TAP header
90-
# printing from tests. Applicable to run_tests case where run_tests adds
91-
# TAP header prior running tests and when a test program invokes another
92-
# with system() call. Export it here to cover override RUN_TESTS defines.
93-
export KSFT_TAP_LEVEL=`echo 1`
94-
9589
# Prepare for headers install
9690
top_srcdir ?= ../../..
9791
include $(top_srcdir)/scripts/subarch.include

tools/testing/selftests/kselftest/runner.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# SPDX-License-Identifier: GPL-2.0
33
#
44
# Runs a set of tests in a given subdirectory.
5-
export KSFT_TAP_LEVEL=1
65
export skip_rc=4
76
export logfile=/dev/stdout
87
export per_test_logging=

0 commit comments

Comments
 (0)