Tweak the boost test logger config
This commit is contained in:
parent
e58615952c
commit
0147dd8699
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue