From: Dave Young Date: Tue, 18 Dec 2012 00:04:49 +0000 (-0800) Subject: kcmp selftests: print fail status instead of cause make error X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=ed8ad10c3b2fab18dd92d21afd4277a8a521ecfd;p=~shefty%2Frdma-dev.git kcmp selftests: print fail status instead of cause make error 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 Reviewed-by: Pekka Enberg Cc: Cyrill Gorcunov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/tools/testing/selftests/kcmp/Makefile b/tools/testing/selftests/kcmp/Makefile index c608945a0ef..56eb5523dbb 100644 --- a/tools/testing/selftests/kcmp/Makefile +++ b/tools/testing/selftests/kcmp/Makefile @@ -22,7 +22,7 @@ else endif run_tests: all - ./kcmp_test + @./kcmp_test || echo "kcmp_test: [FAIL]" clean: rm -fr ./run_test