mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +00:00
test.c: Fix counting of tests and add 2 new tests
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 a346fa54a5
)
This commit is contained in:
committed by
Asterisk Development Team
parent
a42f692861
commit
363a569d99
11
doc/CHANGES-staging/test.txt
Normal file
11
doc/CHANGES-staging/test.txt
Normal file
@@ -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.
|
Reference in New Issue
Block a user