-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
26df1d6
commit e4635c0
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ | |
# <[email protected]> | ||
#============================================================================= | ||
## | ||
# @date Last updated on: 2022-12-23 | ||
# @date Last updated on: 2022-12-31 | ||
# @version Last updated for version: 7.2.0 | ||
# | ||
# @file | ||
|
@@ -814,17 +814,23 @@ def _run_script(fname): | |
# QUTest_inst._fail() already done | ||
pass | ||
|
||
except RuntimeError as e: | ||
QUTest._display(str(e), QUTest._COL_ERR1, QUTest._COL_ERR2) | ||
QSpy._qspy_show(str(e)) | ||
QUTest_inst._fail() | ||
|
||
except SyntaxError: | ||
QUTest._display(traceback.format_exc(limit=0), | ||
QUTest._COL_ERR1, QUTest._COL_ERR2) | ||
QSpy._qspy_show(traceback.format_exc(limit=0)) | ||
QUTest._num_failed += 1 | ||
QUTest._str_failed += " G%d"%(QUTest._num_groups) | ||
except Exception as e: | ||
|
||
except Exception: | ||
QUTest._display(traceback.format_exc(), | ||
QUTest._COL_ERR1, QUTest._COL_ERR2) | ||
QUTest_inst._fail() | ||
|
||
# properly end the last test in the group | ||
QUTest_inst._test_end() | ||
QUTest._quit_host_exe() | ||
|