Skip to content

fix semantics of --set-default-module: only set default for specified easyconfigs, not for the ones that are installed as dependencies via --robot#3094

Merged
akesandgren merged 1 commit intoeasybuilders:developfrom
boegel:set_default_module_robot
Nov 24, 2019
Merged

fix semantics of --set-default-module: only set default for specified easyconfigs, not for the ones that are installed as dependencies via --robot#3094
akesandgren merged 1 commit intoeasybuilders:developfrom
boegel:set_default_module_robot

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Nov 23, 2019

fixes #3090

… easyconfigs, not for the ones that are installed as dependencies via --robot (fixes easybuilders#3090)
@boegel boegel added the bug fix label Nov 23, 2019
@boegel boegel added this to the 4.1.0 milestone Nov 23, 2019
Comment thread test/framework/options.py
"""Test use of --set-default-module --robot."""
# create two test easyconfigs, one depending on the other
# (using dummy Toolchain easyblock included in the tests)
test_ec = os.path.join(self.test_prefix, 'test.eb')
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't verify-easyconfig-filenames=True in site easyconfig.cfg (or users) cause problems with that file name for someone running the tests locally?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be, but if that's so then we need to isolate the tests from the user's configuration.

The tests are assumed to run with the default configuration.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Copy link
Copy Markdown
Contributor

@akesandgren akesandgren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@akesandgren
Copy link
Copy Markdown
Contributor

Going in, thanks @boegel!

@akesandgren akesandgren merged commit 6334e1f into easybuilders:develop Nov 24, 2019
@boegel boegel deleted the set_default_module_robot branch November 24, 2019 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unexpected behaviour with --set-default-module --robot

2 participants