Use the result_code with boost test or else ctest will lie that it passed

This commit is contained in:
Marek Roszko 2023-05-29 21:56:55 -04:00
parent c31b5eb7d8
commit 7e51bc2011
1 changed files with 1 additions and 1 deletions

View File

@ -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