Skip to content

Commit 5988274

Browse files
committed
Report error even for test reports
1 parent 32735cb commit 5988274

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

easybuild/main.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -784,9 +784,6 @@ def main(args=None, logfile=None, do_build=None, testing=False, modtool=None, pr
784784
stop_logging(logfile, logtostdout=options.logtostdout)
785785
if is_successful:
786786
cleanup(logfile, eb_tmpdir, testing, silent=options.terse)
787-
if options.dump_test_report or options.upload_test_report:
788-
# Generation test reports is successful even when software failed to build
789-
return EasyBuildExit.SUCCESS
790787
return EasyBuildExit.SUCCESS if is_successful else EasyBuildExit.ERROR
791788

792789

0 commit comments

Comments
 (0)