Skip to content
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

[bugfix] Do not load environments twice #441

Merged
merged 6 commits into from
Sep 5, 2018

Conversation

ajocksch
Copy link
Contributor

@ajocksch ajocksch commented Sep 5, 2018

ReFrame's environment is no more modified during its execution.
Since we now, apart from the job scripts, we also generate stand-alone build scripts, there is no need for the ReFrame's environment to be modified in the setup() method. However, we still load temporarily the required test's environment inside the setup() method, in order to record the exact module load/unload sequence.

Fixes #43.

@ajocksch ajocksch self-assigned this Sep 5, 2018
@ajocksch ajocksch requested a review from vkarak September 5, 2018 08:01
@vkarak vkarak added this to the ReFrame sprint 2018w35 milestone Sep 5, 2018
@vkarak vkarak changed the title Bugfix/environment load [bugfix] Do not load environments twice Sep 5, 2018
Copy link
Contributor

@vkarak vkarak left a comment

Choose a reason for hiding this comment

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

Please remove all stale files and make sure to update your branch with the latest master.

reframe/core/pipeline.py Show resolved Hide resolved
Copy link
Contributor

@vkarak vkarak left a comment

Choose a reason for hiding this comment

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

lgtm. Seems to work. Let's see in the nightly regression whether it affects existing tests.

@vkarak vkarak merged commit 404f4a7 into reframe-hpc:master Sep 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants