[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <2a679d855ce35b2316eda381dde1af6f6c2c9959.1509749022.git.shuahkh@osg.samsung.com>
Date: Fri, 3 Nov 2017 16:51:51 -0600
From: Shuah Khan <shuahkh@....samsung.com>
To: shuah@...nel.org
Cc: Shuah Khan <shuahkh@....samsung.com>,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 2/2] 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@....samsung.com>
---
tools/testing/selftests/lib.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk
index 5bef05d6ba39..a9e1f81ae177 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 \
--
2.11.0
Powered by blists - more mailing lists