xunit: Add support for Google Test
Change-Id: I6a7d836ccb365533edbd0773a005d936fb8eef2a
This commit is contained in:
parent
8839388aa3
commit
f41de33ed0
@ -888,8 +888,8 @@ def xunit(parser, xml_parent, data):
|
||||
:arg dict types: per framework configuration. The key should be \
|
||||
one of the internal types we support:\
|
||||
'aunit', 'boosttest', 'checktype', 'cpptest', 'cppunit', 'ctest', \
|
||||
'embunit', 'fpcunit', 'junit', 'mstest', 'nunit', 'phpunit', 'tusar', \
|
||||
'unittest', 'valgrind'.
|
||||
'embunit', 'fpcunit', 'gtest', 'junit', 'mstest', 'nunit', 'phpunit', \
|
||||
'tusar', 'unittest', 'valgrind'.
|
||||
|
||||
The 'custom' type is not supported.
|
||||
|
||||
@ -929,6 +929,7 @@ def xunit(parser, xml_parent, data):
|
||||
'ctest': 'CTestType',
|
||||
'embunit': 'EmbUnitType', # since plugin v1.84
|
||||
'fpcunit': 'FPCUnitJunitHudsonTestType',
|
||||
'gtest': 'GoogleTestType',
|
||||
'junit': 'JUnitType',
|
||||
'mstest': 'MSTestJunitHudsonTestType',
|
||||
'nunit': 'NUnitJunitHudsonTestType',
|
||||
|
@ -17,6 +17,13 @@
|
||||
<skipNoTestFiles>false</skipNoTestFiles>
|
||||
<stopProcessingIfError>true</stopProcessingIfError>
|
||||
</CppUnitJunitHudsonTestType>
|
||||
<GoogleTestType>
|
||||
<pattern>gtest.log</pattern>
|
||||
<failIfNotNew>true</failIfNotNew>
|
||||
<deleteOutputFiles>true</deleteOutputFiles>
|
||||
<skipNoTestFiles>false</skipNoTestFiles>
|
||||
<stopProcessingIfError>true</stopProcessingIfError>
|
||||
</GoogleTestType>
|
||||
</types>
|
||||
<thresholds>
|
||||
<org.jenkinsci.plugins.xunit.threshold.FailedThreshold>
|
||||
|
@ -18,3 +18,5 @@ publishers:
|
||||
stoponerror: true
|
||||
- cppunit:
|
||||
pattern: "cppunit.log"
|
||||
- gtest:
|
||||
pattern: "gtest.log"
|
||||
|
Loading…
x
Reference in New Issue
Block a user