Skip to content

Commit

Permalink
take into account that custom easyblock for Paraver requires v4.7+ in…
Browse files Browse the repository at this point in the history
… easyblocks tests
  • Loading branch information
boegel committed Dec 18, 2024
1 parent ee1ee14 commit f025427
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/easyblocks/init_easyblocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ def innertest(self):
elif easyblock_fn == 'openssl_wrapper.py':
# easyblock to create OpenSSL wrapper expects an OpenSSL version
innertest = make_inner_test(easyblock, version='1.1')
elif easyblock_fn == 'paraver.py':
# custom easyblock for Paraver requires version >= 4.7
innertest = make_inner_test(easyblock, version='4.8')
elif easyblock_fn == 'torchvision.py':
# torchvision easyblock requires that PyTorch is listed as dependency
innertest = make_inner_test(easyblock, name='torchvision', deps=[('PyTorch', '1.12.1')])
Expand Down
3 changes: 3 additions & 0 deletions test/easyblocks/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,9 @@ def innertest(self):
elif eb_fn == 'openssl_wrapper.py':
# easyblock to create OpenSSL wrapper expects an OpenSSL version
innertest = make_inner_test(easyblock, name='OpenSSL-wrapper', version='1.1')
elif eb_fn == 'paraver.py':
# custom easyblock for Paraver requires version >= 4.7
innertest = make_inner_test(easyblock, name='Paraver', version='4.8')
elif eb_fn == 'torchvision.py':
# torchvision easyblock requires that PyTorch is listed as dependency
extra_txt = "dependencies = [('PyTorch', '1.12.1')]"
Expand Down

0 comments on commit f025427

Please sign in to comment.