MCPcopy Create free account
hub / github.com/apache/storm / main

Function main

dev-tools/gitact/print-errors-from-test-reports.py:64–73  ·  view source on GitHub ↗
(report_dir_path)

Source from the content-addressed store, hash-verified

62
63
64def main(report_dir_path):
65 for test_report in glob.iglob(report_dir_path + '/*.xml'):
66 file_path = os.path.abspath(test_report)
67 try:
68 print("Checking %s" % test_report)
69 print_error_reports_from_report_file(file_path)
70 except Exception as e:
71 print("Error while reading report file, %s" % file_path)
72 print("Exception: %s" % e)
73 traceback.print_exc()
74
75
76if __name__ == "__main__":

Tested by

no test coverage detected