1cf55db557
* Accept integers for threshold In documentation is written that threshold should be integer. But it fails with integer to generate XML. Only case when it pass is for 0, because XML formatter consider it as empty body and do not format it. * Fix documentation for missing threshold field, plus test. In documentation it says that missing threshold is set to 0, but apparently it is set to Null (empty field), and it has different behaviour than for 0 value. Change-Id: I326cbadd955c4c28f315fa72293d9a54a116b140
20 lines
502 B
YAML
20 lines
502 B
YAML
publishers:
|
|
- xunit:
|
|
test-time-margin: 5000
|
|
thresholdmode: 'number'
|
|
thresholds:
|
|
- failed:
|
|
unstable: 1
|
|
unstablenew: 2
|
|
failure: 3
|
|
failurenew: 4
|
|
- skipped:
|
|
unstable: 5
|
|
unstablenew: 6
|
|
failure: 7
|
|
failurenew: 8
|
|
types:
|
|
- ctest:
|
|
pattern: "build/tests/reports/ctest.xml"
|
|
skip-if-no-test-files: true
|