summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/futex
diff options
context:
space:
mode:
authorShuah Khan2018-02-23 02:17:50 +0100
committerShuah Khan2018-03-07 16:33:35 +0100
commit78972f51ccf8d0682edf99f03d1367b8c2ce7336 (patch)
tree517d183409c91ae339321cedd771d14a4db0fff5 /tools/testing/selftests/futex
parentselftests: Makefile set KSFT_TAP_LEVEL to prevent nested TAP headers (diff)
downloadkernel-qcow2-linux-78972f51ccf8d0682edf99f03d1367b8c2ce7336.tar.gz
kernel-qcow2-linux-78972f51ccf8d0682edf99f03d1367b8c2ce7336.tar.xz
kernel-qcow2-linux-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/testing/selftests/futex')
-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