aboutsummaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorDave Young <dyoung@redhat.com>2012-12-17 16:04:49 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 17:15:27 -0800
commited8ad10c3b2fab18dd92d21afd4277a8a521ecfd (patch)
treea18e3d5668faa9df3f9fe8d288325a810274716b /tools/testing
parent63d233673a9f6c524969e40e7012e3e461aafd32 (diff)
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 <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>
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/selftests/kcmp/Makefile2
1 files changed, 1 insertions, 1 deletions
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