Skip to content

drop custom setUp/tearDown in toolchain tests which are hard modifying $MODULEPATH#1191

Merged
boegel merged 1 commit intoeasybuilders:developfrom
boegel:cleanup_toolchain_tests_setup_teardown
Feb 26, 2015
Merged

drop custom setUp/tearDown in toolchain tests which are hard modifying $MODULEPATH#1191
boegel merged 1 commit intoeasybuilders:developfrom
boegel:cleanup_toolchain_tests_setup_teardown

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Feb 26, 2015

The toolchain unit tests hard modifying $MODULEPATH caused some issues with these tests on a system where only modulecmd.tcl was available; the tests seemed to get stuck in an infinite loop.

Simply dropping the custom setUp and tearDown in test/framework/toolchain.py fixes the issues, since (re)setting $MODULEPATH is already properly done in test/framework/utilities.py.

Thanks to @ocaisa to help figure this out.

@hpcugentbot
Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/1433/
Test PASSed.

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Feb 26, 2015

only affects the (toolchain) tests, and only removal of code, so nothing much to review

thanks again for the help in figuring this out @ocaisa!

boegel added a commit that referenced this pull request Feb 26, 2015
…ardown

drop custom setUp/tearDown in toolchain tests which are hard modifying $MODULEPATH
@boegel boegel merged commit b902d38 into easybuilders:develop Feb 26, 2015
@boegel boegel deleted the cleanup_toolchain_tests_setup_teardown branch February 26, 2015 16:54
boegel added a commit to boegel/easybuild-framework that referenced this pull request Feb 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants