[Bionic,SRU,1/4] selftests: lib.mk set KSFT_TAP_LEVEL to prevent nested TAP headers
diff mbox series

Message ID 20191106102906.28118-2-po-hsu.lin@canonical.com
State New
Headers show
  • Handle the skip return code in kernel_selftests on Bionic
Related show

Commit Message

Po-Hsu Lin Nov. 6, 2019, 10:29 a.m. UTC
From: Shuah Khan <shuahkh@osg.samsung.com>

BugLink: https://bugs.launchpad.net/bugs/1812352

Set KSFT_TAP_LEVEL before running tests to prevent nested TAP header
printing from tests.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
(cherry picked from commit 771cbc3bcbb59084766a501772853f2de7009534)
Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
 tools/testing/selftests/lib.mk | 1 +
 1 file changed, 1 insertion(+)

diff mbox series

diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk
index 6cd4695..51bc464 100644
--- a/tools/testing/selftests/lib.mk
+++ b/tools/testing/selftests/lib.mk
@@ -32,6 +32,7 @@  endif
 define RUN_TESTS
+	@export KSFT_TAP_LEVEL=`echo 1`;
 	@test_num=`echo 0`;
 	@echo "TAP version 13";
 	@for TEST in $(1); do				\