Tweak the boost test logger config

This commit is contained in:
Marek Roszko 2024-01-21 15:52:32 -05:00
parent e58615952c
commit 0147dd8699
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
stage: test stage: test
when: on_success when: on_success
variables: variables:
BOOST_TEST_LOGGER: 'JUNIT,all,test_results.${TEST}.xml:HRF,warning' BOOST_TEST_LOGGER: 'JUNIT,warning,test_results.${TEST}.xml:HRF,warning'
CTEST_OUTPUT_ON_FAILURE: 1 CTEST_OUTPUT_ON_FAILURE: 1
script: script:
- cd build/linux/qa - cd build/linux/qa

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 # Due to Boost issue in 1.62, have to use the --logger parameter, rather than
# separate --log_format, --log_sink, etc parameter # separate --log_format, --log_sink, etc parameter
# https://svn.boost.org/trac10/ticket/12507 # https://svn.boost.org/trac10/ticket/12507
set(BOOST_TEST_PARAMS --logger=JUNIT,all,${TEST_NAME}.boost-results.xml) set(BOOST_TEST_PARAMS --logger=JUNIT,warning,${TEST_NAME}.boost-results.xml:HRF,warning)
endif() endif()
# Add the test to the CTest registry # Add the test to the CTest registry