Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Crivella committed Oct 4, 2024
1 parent 6e609b8 commit 6e2693c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion easybuild/easyblocks/l/llvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,8 @@ def configure_step(self):
if not self.cfg['skip_all_tests']:
raise EasyBuildError("Can't find `lit`, needed for running tests-suite")

if not self.cfg['skip_all_tests'] and (self.cfg['test_suite_timeout_single'] or self.cfg['test_suite_timeout_total']):
timeouts = self.cfg['test_suite_timeout_single'] or self.cfg['test_suite_timeout_total']
if not self.cfg['skip_all_tests'] and timeouts:
psutil_root = get_software_root('psutil')
if not psutil_root:
raise EasyBuildError("Can't find `psutil`, needed for running tests-suite with timeout")
Expand Down

0 comments on commit 6e2693c

Please sign in to comment.