Skip to content

Commit

Permalink
replace run_cmd with run_shell_cmd in custom easyblock for ESPRes…
Browse files Browse the repository at this point in the history
…So (`espresso.py`)
  • Loading branch information
branfosj committed Jan 30, 2024
1 parent e4576ed commit d9d1a22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/easyblocks/e/espresso.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

from easybuild.easyblocks.generic.configuremake import ConfigureMake
from easybuild.framework.easyconfig import CUSTOM
from easybuild.tools.run import run_cmd
from easybuild.tools.run import run_shell_cmd


class EB_ESPResSo(ConfigureMake):
Expand All @@ -45,7 +45,7 @@ def test_step(self):

if self.cfg['runtest']:
cmd = './runtest.sh -p 2 *.tcl'
(out, ec) = run_cmd(cmd, simple=False, log_all=False, log_ok=False, path="testsuite")
(out, ec) = run_shell_cmd(cmd, fail_on_error=False, work_dir="testsuite")

if ec:
# ESPResSo fails many of its tests in version 3.1.1, and the test script itself is buggy
Expand Down

0 comments on commit d9d1a22

Please sign in to comment.