Renamed report_utils.py.

pull/4008/head
Adele Zhou 9 years ago
parent 2271ab5aea
commit a30f829e62
  1. 0
      tools/run_tests/report_utils.py
  2. 8
      tools/run_tests/run_interop_tests.py
  3. 4
      tools/run_tests/run_tests.py

@ -33,10 +33,10 @@
import argparse
import dockerjob
import itertools
import generate_reports
import jobset
import multiprocessing
import os
import report_utils
import subprocess
import sys
import tempfile
@ -627,11 +627,9 @@ try:
else:
jobset.message('SUCCESS', 'All tests passed', do_newline=True)
# Generate XML report.
generate_reports.render_xml_report(resultset, 'report.xml')
report_utils.render_xml_report(resultset, 'report.xml')
# Generate HTML report.
generate_reports.render_html_report(
report_utils.render_html_report(
set([str(l) for l in languages]), servers, _TEST_CASES, _AUTH_TEST_CASES,
resultset, num_failures, args.cloud_to_prod_auth or args.cloud_to_prod)

@ -48,8 +48,8 @@ import traceback
import time
import urllib2
import generate_reports
import jobset
import report_utils
import watch_dirs
ROOT = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), '../..'))
@ -890,7 +890,7 @@ def _build_and_run(
for antagonist in antagonists:
antagonist.kill()
if xml_report:
generate_reports.render_xml_report(resultset, xml_report)
report_utils.render_xml_report(resultset, xml_report)
number_failures, _ = jobset.run(
post_tests_steps, maxjobs=1, stop_on_failure=True,

Loading…
Cancel
Save