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