summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2018-02-21 17:22:08 -0700
committerShuah Khan <shuahkh@osg.samsung.com>2018-03-05 19:10:35 -0700
commit771cbc3bcbb59084766a501772853f2de7009534 (patch)
tree0d1625f52de53a13c9b793820fd4131493873127 /tools/testing/selftests
parent10f531f6748228583b8c4244216e9e3f34d47379 (diff)
downloadlinux-stable-771cbc3bcbb59084766a501772853f2de7009534.tar.gz
linux-stable-771cbc3bcbb59084766a501772853f2de7009534.tar.bz2
linux-stable-771cbc3bcbb59084766a501772853f2de7009534.zip
selftests: lib.mk set KSFT_TAP_LEVEL to prevent nested TAP headers
Set KSFT_TAP_LEVEL before running tests to prevent nested TAP header printing from tests. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests')
-rw-r--r--tools/testing/selftests/lib.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk
index 7de482a0519d..195e9d4739a9 100644
--- a/tools/testing/selftests/lib.mk
+++ b/tools/testing/selftests/lib.mk
@@ -20,6 +20,7 @@ all: $(TEST_GEN_PROGS) $(TEST_GEN_PROGS_EXTENDED) $(TEST_GEN_FILES)
.ONESHELL:
define RUN_TESTS
+ @export KSFT_TAP_LEVEL=`echo 1`;
@test_num=`echo 0`;
@echo "TAP version 13";
@for TEST in $(1); do \