aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2018-02-22 18:17:50 -0700
committerShuah Khan <shuahkh@osg.samsung.com>2018-03-07 08:33:35 -0700
commit78972f51ccf8d0682edf99f03d1367b8c2ce7336 (patch)
tree517d183409c91ae339321cedd771d14a4db0fff5 /tools
parentselftests: Makefile set KSFT_TAP_LEVEL to prevent nested TAP headers (diff)
downloadlinux-dev-78972f51ccf8d0682edf99f03d1367b8c2ce7336.tar.xz
linux-dev-78972f51ccf8d0682edf99f03d1367b8c2ce7336.zip
selftests: futex Makefile add top level TAP header echo to RUN_TESTS
Add top level TAP header echo, testname and separator line to make the output consistent with the common run_tests target. This change prevents nested TAP13 headers output from individual tests. Nested TAP13 headers could cause problems for some parsers. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Reviewed-by: Darren Hart (VMware) <dvhart@infradead.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/futex/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/futex/Makefile b/tools/testing/selftests/futex/Makefile
index a63e8453984d..8497a376ef9d 100644
--- a/tools/testing/selftests/futex/Makefile
+++ b/tools/testing/selftests/futex/Makefile
@@ -18,6 +18,10 @@ all:
done
override define RUN_TESTS
+ @export KSFT_TAP_LEVEL=`echo 1`;
+ @echo "TAP version 13";
+ @echo "selftests: futex";
+ @echo "========================================";
@cd $(OUTPUT); ./run.sh
endef