Skip to content

Commit e6426c1

Browse files
authored
Merge pull request #120 from ax3l/fix-backtraces-missing
Always Copy Backtraces (if any)
2 parents 4b290c5 + 16030a2 commit e6426c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

regtest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,6 +1108,9 @@ def test_suite(argv):
11081108
#----------------------------------------------------------------------
11091109
# move the output files into the web directory
11101110
#----------------------------------------------------------------------
1111+
# were any Backtrace files output (indicating a crash)
1112+
suite.copy_backtrace(test)
1113+
11111114
if test.return_code == 0 and args.make_benchmarks is None:
11121115
shutil.copy(test.outfile, suite.full_web_dir)
11131116
if os.path.isfile(test.errfile):
@@ -1156,9 +1159,6 @@ def test_suite(argv):
11561159
# analysis was not successful. Reset the output image
11571160
test.analysisOutputImage = ""
11581161

1159-
# were any Backtrace files output (indicating a crash)
1160-
suite.copy_backtrace(test)
1161-
11621162
elif test.return_code == 0:
11631163
if test.doComparison:
11641164
shutil.copy(f"{test.name}.status", suite.full_web_dir)

0 commit comments

Comments
 (0)