kcmp selftests: print fail status instead of cause make error
authorDave Young <dyoung@redhat.com>
Tue, 18 Dec 2012 00:04:49 +0000 (16:04 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:27 +0000 (17:15 -0800)
In case kcmp_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>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/testing/selftests/kcmp/Makefile

index c608945a0ef5af03103a53b51f698dedff7b6c5f..56eb5523dbb8ac17f69421c79fee7008b38b7755 100644 (file)
@@ -22,7 +22,7 @@ else
 endif
 
 run_tests: all
-       ./kcmp_test
+       @./kcmp_test || echo "kcmp_test: [FAIL]"
 
 clean:
        rm -fr ./run_test