selftests: futex Makefile add top level TAP header echo to RUN_TESTS
authorShuah Khan <shuahkh@osg.samsung.com>
Fri, 23 Feb 2018 01:17:50 +0000 (18:17 -0700)
committerShuah Khan <shuahkh@osg.samsung.com>
Wed, 7 Mar 2018 15:33:35 +0000 (08:33 -0700)
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>
tools/testing/selftests/futex/Makefile

index a63e8453984d2793eb38b706236f31dc49527e9b..8497a376ef9d5eaa7d8969146655d45a82281449 100644 (file)
@@ -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