Skip to content

Add test for correct import of other easyblocks - #4182

Open
Flamefire wants to merge 2 commits into
easybuilders:developfrom
Flamefire:test-imports
Open

Add test for correct import of other easyblocks#4182
Flamefire wants to merge 2 commits into
easybuilders:developfrom
Flamefire:test-imports

Conversation

@Flamefire

Copy link
Copy Markdown
Contributor

Using e.g. import easybuild.easyblocks.c.cmake fails when used with
--include-easyblocks[-from-pr] as that places easyblocks directly in
the easyblocks folder.
Furthermore e.g. from easybuild.easyblocks.r import rmpi may not
import the Rmpi easyblock but fail as it imports rmpi from the R easyblock.

The new test catches those issues.

@Crivella This should catch the from easybuild.easyblocks.j.julia import EB_JULIA_DEPOT_PATH_VAR, EB_JULIA_LOAD_PATH_VAR from #4146 before it becomes an issue

Using e.g. `import easybuild.easyblocks.c.cmake` fails when used with
`--include-easyblocks[-from-pr]` as that places easyblocks directly in
the `easyblocks` folder.
Furthermore e.g. `from easybuild.easyblocks.r import rmpi` will not
import the `Rmpi` easyblock but fail as it imports rmpi from the `R` easyblock.

The new test catches those issues.
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.

2 participants