diff options
author | John Szakmeister <john@szakmeister.net> | 2014-11-25 06:15:57 -0500 |
---|---|---|
committer | John Szakmeister <john@szakmeister.net> | 2014-11-25 06:15:57 -0500 |
commit | 346e07e8da48b47e734948eb69d7e4ee315abc11 (patch) | |
tree | 1f5961a4e9b1f7087a1b94ed2380263248dc2416 /cmake | |
parent | bcab2905d83c4b6c0def50462752b1beb5548f10 (diff) | |
download | rneovim-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.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/RunTests.cmake | 2 |
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() |