Use the result_code with boost test or else ctest will lie that it passed
This commit is contained in:
parent
c31b5eb7d8
commit
7e51bc2011
|
@ -62,7 +62,7 @@ if( KICAD_TEST_XML_OUTPUT )
|
|||
# Due to Boost issue in 1.62, have to use the --logger parameter, rather than
|
||||
# separate --log_format, --log_sink, etc parameter
|
||||
# https://svn.boost.org/trac10/ticket/12507
|
||||
set(BOOST_TEST_PARAMS --logger=JUNIT,all,${TEST_NAME}.boost-results.xml --report_level=no --result_code=no)
|
||||
set(BOOST_TEST_PARAMS --logger=JUNIT,all,${TEST_NAME}.boost-results.xml --report_level=no --result_code=yes)
|
||||
endif()
|
||||
|
||||
# Add the test to the CTest registry
|
||||
|
|
Loading…
Reference in New Issue