瀏覽代碼

breakpoint selftests: print failure status instead of cause make error

In case breakpoint 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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Dave Young 13 年之前
父節點
當前提交
5a55f8bb2d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/testing/selftests/breakpoints/Makefile

+ 1 - 1
tools/testing/selftests/breakpoints/Makefile

@@ -17,7 +17,7 @@ else
 endif
 endif
 
 
 run_tests:
 run_tests:
-	./breakpoint_test
+	@./breakpoint_test || echo "breakpoints selftests: [FAIL]"
 
 
 clean:
 clean:
 	rm -fr breakpoint_test
 	rm -fr breakpoint_test