Skip to content

Commit

Permalink
stop checking run.errors_found_in_log, which is only updated by now d…
Browse files Browse the repository at this point in the history
…eprecated parse_log_for_error (used by run_cmd + run_cmd_qa)
  • Loading branch information
boegel committed Apr 9, 2024
1 parent a46955c commit 0863b12
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions easybuild/framework/easyblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -4246,7 +4246,6 @@ def build_and_install_one(ecdict, init_env):

# restore original environment, and then sanitize it
_log.info("Resetting environment")
run.errors_found_in_log = 0
restore_env(init_env)
sanitize_env()

Expand Down Expand Up @@ -4449,11 +4448,6 @@ def ensure_writable_log_dir(log_dir):
req_time = time2str(end_timestamp - start_timestamp)
print_msg("%s: Installation %s %s (took %s)" % (summary, ended, succ, req_time), log=_log, silent=silent)

# check for errors
if run.errors_found_in_log > 0:
_log.warning("%d possible error(s) were detected in the "
"build logs, please verify the build.", run.errors_found_in_log)

if app.postmsg:
print_msg("\nWARNING: %s\n" % app.postmsg, log=_log, silent=silent)

Expand Down

0 comments on commit 0863b12

Please sign in to comment.