New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pass down stdin in 'import' check for extensions during sanity check #2276
pass down stdin in 'import' check for extensions during sanity check #2276
Conversation
This probably needs enhanced tests to verify the changes (and make sure the bug being fixed here isn't re-introduced). |
Without the changes to the Seurat easyconfig in easybuilders/easybuild-easyconfigs#4889, the sanity check fails as it should on top of this... |
…own of stdin value to filter command
tests are enhanced to catch the bug @easybuilders/easybuild-framework-maintainers ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cached commands can be found at https://github.com/easybuilders/easybuild-framework/blob/master/easybuild/tools/run.py#L60
@@ -118,6 +118,22 @@ def test_run_cmd_simple(self): | |||
self.assertEqual(True, run_cmd("echo hello", simple=True)) | |||
self.assertEqual(False, run_cmd("exit 1", simple=True, log_all=False, log_ok=False)) | |||
|
|||
def test_run_cmd_cache(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about a test for the (caching of the) new inp
argument to run_cmd
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point, added in #bc4be4154
…-1.3.12-test.eb test easyconfig in easybuilders#2276
fix test_inject_checksums that got broken by changes to toy-0.0-gompi-1.3.12-test.eb test easyconfig in PR #2276
By not passing down
stdin
intorun_cmd
in thesanity_check
implementation for extensions, the 'import' check for R libraries is basically being skipped...In addition, the caching mechanism for
run_cmd
should also take into account theinp
argument.