aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2014-11-25 06:15:57 -0500
committerJohn Szakmeister <john@szakmeister.net>2014-11-25 06:15:57 -0500
commit346e07e8da48b47e734948eb69d7e4ee315abc11 (patch)
tree1f5961a4e9b1f7087a1b94ed2380263248dc2416
parentbcab2905d83c4b6c0def50462752b1beb5548f10 (diff)
downloadrneovim-346e07e8da48b47e734948eb69d7e4ee315abc11.tar.gz
rneovim-346e07e8da48b47e734948eb69d7e4ee315abc11.tar.bz2
rneovim-346e07e8da48b47e734948eb69d7e4ee315abc11.zip
build: print the error result when the tests fail
Any diagnostic information is useful when things fail. In my case, it printed out the fact that the tests were segfaulting.
-rw-r--r--cmake/RunTests.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/RunTests.cmake b/cmake/RunTests.cmake
index 0f301a6a10..227569f84c 100644
--- a/cmake/RunTests.cmake
+++ b/cmake/RunTests.cmake
@@ -20,5 +20,5 @@ execute_process(
RESULT_VARIABLE res)
if(NOT res EQUAL 0)
- message(FATAL_ERROR "Running ${TEST_TYPE} tests failed.")
+ message(FATAL_ERROR "Running ${TEST_TYPE} tests failed with error: ${res}.")
endif()