Ignore the number of failed skipped tests

jobset.run was changed on 16 October 2015 in e4c3561074
to return the number of failures and the result set. On 20 October 2016
in 5c691c634d jobset.run was changed to
allow jobs to be skipped, but the introduced code path only returned
the result set, giving jobset.run inconsistent return value semantics.
On 24 October 2016 7e9bd6ca9a introduced
a use of jobset.run's "skip_jobs" return value semantics, and on 8
March 2017 d159af31fc resolved
jobset.run's inconsistent return value semantics but failed to correct
run_tests_matrix's use of the inconsistent "skip_jobs" return value
semantics.
pull/10119/head
Nathaniel Manista 8 years ago
parent 0b7bd20de4
commit 21e7dfc712
  1. 4
      tools/run_tests/run_tests_matrix.py

@ -415,8 +415,8 @@ if __name__ == "__main__":
maxjobs=args.jobs)
# Merge skipped tests into results to show skipped tests on report.xml
if skipped_jobs:
skipped_results = jobset.run(skipped_jobs,
skip_jobs=True)
ignored_num_skipped_failures, skipped_results = jobset.run(
skipped_jobs, skip_jobs=True)
resultset.update(skipped_results)
report_utils.render_junit_xml_report(resultset, 'report_%s' % _REPORT_SUFFIX,
suite_name='aggregate_tests')

Loading…
Cancel
Save