mirror of https://github.com/asterisk/asterisk
The unit test XML output was counting all registered tests as "run"
even when only a subset were actually requested to be run and
the "failures" attribute was missing.
* The "tests" attribute of the "testsuite" element in the
output XML now reflects only the tests actually requested
to be executed instead of all the tests registered.
* The "failures" attribute was added to the "testsuite"
element.
Also added 2 new unit tests that just pass and fail to be
used for CI testing.
Change-Id: Ia137814b5aeb0e1a44c75034bd3615c26021da69
(cherry picked from commit a0fd95ef52
)
pull/886/head
parent
3a158c07a1
commit
d0ce6d4ee5
@ -0,0 +1,11 @@
|
|||||||
|
Subject: test.c
|
||||||
|
|
||||||
|
The "tests" attribute of the "testsuite" element in the
|
||||||
|
output XML now reflects only the tests actually requested
|
||||||
|
to be executed instead of all the tests registered.
|
||||||
|
|
||||||
|
The "failures" attribute was added to the "testsuite"
|
||||||
|
element.
|
||||||
|
|
||||||
|
Also added two new unit tests that just pass and fail
|
||||||
|
to be used for testing CI itself.
|
Loading…
Reference in new issue