Skip to content

Commit

Permalink
load Julia on JuliaBundle easyblock tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lexming committed Nov 17, 2022
1 parent bde9df5 commit 3cd0736
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/easyblocks/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
from easybuild.base import fancylogger
from easybuild.base.testing import TestCase
from easybuild.easyblocks.generic.gopackage import GoPackage
from easybuild.easyblocks.generic.juliabundle import JuliaBundle
from easybuild.easyblocks.generic.juliapackage import JuliaPackage
from easybuild.easyblocks.generic.intelbase import IntelBase
from easybuild.easyblocks.generic.pythonbundle import PythonBundle
Expand Down Expand Up @@ -287,8 +288,8 @@ def template_module_only_test(self, easyblock, name, version='1.3.2', extra_txt=
os.environ['EBROOTGO'] = '/fake/install/prefix/Go/1.14'
os.environ['EBVERSIONGO'] = '1.14'

elif app_class == JuliaPackage:
# $EBROOTJULIA must be set for JuliaPackage easyblock
elif app_class in (JuliaPackage, JuliaBundle):
# $EBROOTJULIA must be set for JuliaPackage/JuliaBundle easyblock
os.environ['EBROOTJULIA'] = '/fake/install/prefix/Julia/1.6.7'
os.environ['EBVERSIONJULIA'] = '1.6.7'

Expand Down

0 comments on commit 3cd0736

Please sign in to comment.