Skip to content
Snippets Groups Projects
user avatar
George Joseph authored
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 a0fd95ef52593e4b7471d8045683f81b101d014a)
d0ce6d4e
History
Name Last commit Last update
..
CI
keys
Makefile
test_abstract_jb.c
test_acl.c
test_aeap.c
test_aeap_speech.c
test_aeap_transaction.c
test_aeap_transport.c
test_ami_security_events.sh
test_amihooks.c
test_aoc.c
test_app.c
test_ari.c
test_ari_model.c
test_ast_format_str_reduce.c
test_astobj2.c
test_astobj2_thrash.c
test_astobj2_weaken.c
test_bridging.c
test_bucket.c
test_callerid.c
test_capture.c
test_cdr.c
test_cel.c
test_channel.c
test_channel_feature_hooks.c
test_config.c
test_conversions.c
test_core_codec.c
test_core_format.c
test_crypto.c
test_data_buffer.c
test_db.c
test_devicestate.c
test_dlinklists.c
test_dns.c
test_dns_naptr.c
test_dns_query_set.c
test_dns_recurring.c
test_dns_srv.c
test_endpoints.c
test_event.c
test_expr.c
test_file.c
test_format_cache.c
test_format_cap.c
test_func_file.c
test_gosub.c
test_hashtab_thrash.c
test_heap.c
test_http_media_cache.c
test_jitterbuf.c
test_json.c
test_linkedlists.c
test_locale.c
test_logger.c
test_media_cache.c
test_message.c
test_mwi.c
test_named_lock.c
test_netsock2.c
test_optional_api.c
test_pbx.c
test_poll.c
test_res_pjsip_scheduler.c
test_res_pjsip_session_caps.c
test_res_prometheus.c
test_res_rtp.c
test_res_stasis.c
test_sched.c
test_scope_trace.c
test_scoped_lock.c
test_security_events.c
test_skel.c
test_sorcery.c
test_sorcery_astdb.c
test_sorcery_memory_cache_thrash.c
test_sorcery_realtime.c
test_stasis.c
test_stasis_channels.c
test_stasis_endpoints.c
test_stasis_state.c
test_stream.c
test_stringfields.c
test_strings.c
test_substitution.c
test_taskprocessor.c
test_threadpool.c
test_time.c
test_uri.c
test_utils.c
test_uuid.c
test_vector.c
test_voicemail_api.c
test_websocket_client.c
test_xml_escape.c