convert all generic easyblocks to run_shell_cmd#3046
convert all generic easyblocks to run_shell_cmd#3046SebastianAchilles merged 31 commits intoeasybuilders:5.0.xfrom
run_shell_cmd#3046Conversation
The default for the verbose= parameter for build_step is reversed in line with the default for run_shell_cmd.
|
@bartoldeman: Tests failed in GitHub Actions, see https://github.com/easybuilders/easybuild-easyblocks/actions/runs/7115210289 bleep, bloop, I'm just a bot (boegelbot v20200716.01) |
run_shell_cmd
It handles errors itself already by just looking at the output, no need also do it in run_shell_cmd here. This fixes the test case for det_cmake_version().
|
All generic easyblocks have been converted. Time for testing... |
|
@SebastianAchilles Can you look into testing this a bit, as soon as easybuilders/easybuild-framework#4423 is merged? |
|
Yes, I will test this PR, as soon as easybuilders/easybuild-framework#4423 is merged. |
|
Test report by @SebastianAchilles Overview of tested easyconfigs (in order)
Build succeeded for 1 out of 1 (1 easyconfigs in total) |
|
I think it makes sense to test, if possible, one EasyConfig per modified EasyBlock. To find recent EasyConfigs for an EasyBlock I intend to test the following EasyConfigs: |
|
Test report by @SebastianAchilles Overview of tested easyconfigs (in order)
Build succeeded for 21 out of 21 (21 easyconfigs in total) |
Requested changes have been implemented.
|
Going in, thanks @bartoldeman! |
|
|
||
| cmd = self.compose_install_command(test_installdir, extrapath=extrapath) | ||
| run_cmd(cmd, log_all=True, simple=True, verbose=False) | ||
| run_shell_cmd(cmd, hidden=True) |
There was a problem hiding this comment.
@bartoldeman Did you intentionally hide the installation command before running the tests in PythonPackage.test_step?
Just wondering, not opposing it, sort of makes sense, but it is different from what we had before (verbose=False in run_cmd is not equivalent with hidden=True in run_shell_cmd)
There was a problem hiding this comment.
This looks like an oversight, since trace=False (now hidden=True) was used in many other places in this easyblock. I'll file a new PR for consistency.
To address easybuilders#3046 (comment) as a followup to easybuilders#3046
run_shell_cmdrun_shell_cmd
To address easybuilders#3046 (comment) as a followup to easybuilders#3046
For ConfigureMake the default for the
verbose=parameter forbuild_stepis reversed in line with the default forrun_shell_cmd.