Jenkins track test results (#8236)

This commit is contained in:
Daniel Agar
2017-11-05 15:04:14 -05:00
committed by GitHub
parent 5a17f6b2d5
commit aa699cf4b7
3 changed files with 7 additions and 13 deletions
+1
View File
@@ -99,6 +99,7 @@ endif()
add_custom_target(test_results_junit
COMMAND xsltproc ${PX4_SOURCE_DIR}/Tools/CTest2JUnit.xsl Testing/`head -n 1 < Testing/TAG`/Test.xml > JUnitTestResults.xml
DEPENDS test_results
COMMENT "Converting ctest output to junit xml"
WORKING_DIRECTORY ${PX4_BINARY_DIR})
set_target_properties(test_results_junit PROPERTIES EXCLUDE_FROM_ALL TRUE)