Skip to content

Commit

Permalink
use fake version to test module-only on IntelBase family of easyblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
lexming committed Dec 18, 2024
1 parent 969518a commit 5a9af34
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/easyblocks/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,10 @@ def innertest(self):
# exactly one dependency is included with ModuleRC generic easyblock (and name must match)
extra_txt = 'dependencies = [("foo", "1.2.3.4.5")]'
innertest = make_inner_test(easyblock, name='foo', version='1.2.3.4', extra_txt=extra_txt)
elif eb_fn in ['advisor.py', 'icc.py', 'iccifort.py', 'ifort.py', 'imkl.py', 'imkl_fftw.py',
'inspector.py', 'itac.py', 'tbb.py', 'vtune.py']:
# family of IntelBase easyblocks have a minimum version support based on currently supported toolchains
innertest = make_inner_test(easyblock, name=eb_fn.replace('_', '-')[:-3], version='9999.9')
elif eb_fn == 'intel_compilers.py':
# custom easyblock for intel-compilers (oneAPI) requires v2021.x or newer
innertest = make_inner_test(easyblock, name='intel-compilers', version='2021.1')
Expand Down

0 comments on commit 5a9af34

Please sign in to comment.