Write test fails to stdout/stderr even from ctest
Running tests while writing failed assertions to a text file means the little information there is that causes test failures becomes pretty much inaccessible on Travis. Sending the output to stdout/stderr means it can be trivially shown for failed tests using the --output-on-failure option of ctest. Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
8cbd67c32b
commit
15179910d1
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ function(add_cunit_executable TARGET)
|
||||||
|
|
||||||
add_test(
|
add_test(
|
||||||
NAME ${ctest}
|
NAME ${ctest}
|
||||||
COMMAND ${TARGET} -a -r "${suite}-${test}" -s ${suite} -t ${test})
|
COMMAND ${TARGET} -s ${suite} -t ${test})
|
||||||
set_property(TEST ${ctest} PROPERTY TIMEOUT ${timeout})
|
set_property(TEST ${ctest} PROPERTY TIMEOUT ${timeout})
|
||||||
set_property(TEST ${ctest} PROPERTY DISABLED ${disabled})
|
set_property(TEST ${ctest} PROPERTY DISABLED ${disabled})
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue