diff options
author | Dimitrios Apostolou <jimis@qt.io> | 2022-01-12 17:05:32 +0100 |
---|---|---|
committer | Dimitrios Apostolou <jimis@qt.io> | 2022-01-18 19:43:54 +0100 |
commit | 5180e70dbeb262edc2651f3b03e3f9d1cdf20729 (patch) | |
tree | 19bb5b14f4b863c8d42a8e850076bb0b59e16a10 /util | |
parent | a620a6bf15da07d66d00bf294a65d0820ce01bcc (diff) |
qt-testrunner: be more clear that it was the test that crashed
Task-number: QTBUG-99970
Change-Id: Id2d01b6ab7d428356d9dfc953107014791393d35
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
Diffstat (limited to 'util')
-rwxr-xr-x | util/testrunner/qt-testrunner.py | 13 |
1 files changed, 9 insertions, 4 deletions
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 |