Kenneth Hoste writes:
> >> On 24/04/2020 02:33, Mike Kelsey wrote:
> >>> [kelsey@terra1 EasyBuild]$ which eb
> >>> /scratch/user/kelsey/EasyBuild/framework/eb
> >>>
> >>> but when I launch the unit test per the documentation, I get complaints:
> >>>
> >>> [kelsey@terra1 EasyBuild]$ export TEST_EASYBUILD_MODULES_TOOL=Lmod
> >>> [kelsey@terra1 EasyBuild]$ python -m test.framework.toy_build
> >>>
> >>> WARNING: 'eb' not found in $PATH, failed to determine installation prefix!
> >>> WARNING: 'eb' not found in $PATH, failed to determine installation prefix!
> >>> WARNING: 'eb' not found in $PATH, failed to determine installation prefix!
> >>> [ repeated 6 times before '.' , with double blank lines between them! ]
[...]
> It may be related to using a module for this, I think the tests may be
> wiping all loaded modules at some point, which makes the $PATH change
> get undone...
That's an interesting thought! I found Framework #3231 with the same
complaint. Mention this hypothesis there?
-- Mike