breakpoint selftests: print failure status instead of cause make error
authorDave Young <dyoung@redhat.com>
Tue, 18 Dec 2012 00:04:50 +0000 (16:04 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:27 +0000 (17:15 -0800)
In case breakpoint test exit non zero value it will cause make error.
Better way is just print the test failure status.

Signed-off-by: Dave Young <dyoung@redhat.com>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/testing/selftests/breakpoints/Makefile

index 931278035f5c94746fbe3ea5376fccdcf81e5747..e18b42b254af814d7eb03f9459a2d24f67397077 100644 (file)
@@ -17,7 +17,7 @@ else
 endif
 
 run_tests:
-       ./breakpoint_test
+       @./breakpoint_test || echo "breakpoints selftests: [FAIL]"
 
 clean:
        rm -fr breakpoint_test