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://git.stricted.de/?a=commitdiff_plain;h=ed8ad10c3b2fab18dd92d21afd4277a8a521ecfd;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 c608945a0ef5..56eb5523dbb8 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