Skip to content

Commit

Permalink
kcmp selftests: print fail status instead of cause make error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dave Young authored and Linus Torvalds committed Dec 18, 2012
1 parent 63d2336 commit ed8ad10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/kcmp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ else
endif

run_tests: all
./kcmp_test
@./kcmp_test || echo "kcmp_test: [FAIL]"

clean:
rm -fr ./run_test
Expand Down

0 comments on commit ed8ad10

Please sign in to comment.