-
Notifications
You must be signed in to change notification settings - Fork 203
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
add support for --skip-extensions #3702
Conversation
test/framework/options.py
Outdated
@@ -5857,6 +5857,41 @@ def test_sanity_check_only(self): | |||
regex = re.compile(error_pattern) | |||
self.assertTrue(regex.search(error_msg), "Pattern '%s' should be found in: %s" % (regex.pattern, error_msg)) | |||
|
|||
# failing sanity check for extension can be bypassed via --skip-extensions | |||
self.eb_main(args + ['--skip-extensions'], do_build=True, return_error=True) |
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.
There's no test here is there, so what's the point?
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.
Yeah, what's the use of this?
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.
If the sanity check fails, then an error is raised, so this would cause the test to fail.
I can add another quick check for the module file after this though, to make that a bit more clear.
…-sanity-check-only
This comment has been minimized.
This comment has been minimized.
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.
LGTM
Going in, thanks @boegel! |
#3655 fixed the behavior of
--module-only
to also cover extensions during the sanity check, which trumps the use case of generating a module file for anR
installation when not all extensions have been installed.To restore this capability, the new
--skip-extensions
options can be used in combination with--module-only
.It can also be used to install
R
(orPython
,Perl
, etc.) without extensions first, and then enhance the installation viaeb --skip
afterwards.fixes #3672