From 5180e70dbeb262edc2651f3b03e3f9d1cdf20729 Mon Sep 17 00:00:00 2001 From: Dimitrios Apostolou Date: Wed, 12 Jan 2022 17:05:32 +0100 Subject: qt-testrunner: be more clear that it was the test that crashed Task-number: QTBUG-99970 Change-Id: Id2d01b6ab7d428356d9dfc953107014791393d35 Reviewed-by: Fabian Kosmale Reviewed-by: Jani Heikkinen --- util/testrunner/qt-testrunner.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'util') diff --git a/util/testrunner/qt-testrunner.py b/util/testrunner/qt-testrunner.py index f3c59c094c..0020bd5fdf 100755 --- a/util/testrunner/qt-testrunner.py +++ b/util/testrunner/qt-testrunner.py @@ -319,14 +319,17 @@ def main(): if not args.parse_xml_testlog: assert len(failed_functions) > 0, \ - "The XML test log should contain at least one failure!" + "The XML test log should contain at least one failure!" \ + " Did the test CRASH right after all its testcases PASSed?" break # go to re-running individual failed testcases except Exception as e: - L.exception("Uncontrolled test CRASH! Details:", exc_info=e) + L.exception("The test executable CRASHed uncontrollably!" + " Details about where we caught the problem:", + exc_info=e) if i < n_full_runs - 1: - L.info("Will re-run the full test executable again!") + L.info("Will re-run the full test executable") else: # Failed on the final run L.error("Full test run failed repeatedly, aborting!") sys.exit(3) @@ -343,7 +346,9 @@ def main(): args.max_repeats, args.passes_needed, dryrun=args.dry_run, timeout=args.timeout) except Exception as e: - L.exception("Uncontrolled test CRASH! Details:", exc_info=e) + L.exception("The test executable CRASHed uncontrollably!" + " Details about where we caught the problem:", + exc_info=e) L.error("Test re-run exited unxpectedly, aborting!") sys.exit(3) # Test re-run CRASH -- cgit v1.2.3