Skip to content

Commit

Permalink
Update eb_hooks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
laraPPr authored Aug 16, 2023
1 parent 1adfe5e commit 4f54fd6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,10 @@ def pre_configure_hook_wrf_aarch64(self, *args, **kwargs):
else:
raise EasyBuildError("WRF-specific hook triggered for non-WRF easyconfig?!")

def pre_test_hook_ignore_failing_tests_SciPybundle(self, *args, **kwargs):
if self.name == 'SciPy-bundle' and '/neoverse_v1/' in self.installdir:
self.cfg['testopts'] = "|| echo ignoring failing tests"


PARSE_HOOKS = {
'CGAL': parse_hook_cgal_toolchainopts_precise,
Expand All @@ -277,3 +281,7 @@ def pre_configure_hook_wrf_aarch64(self, *args, **kwargs):
'OpenBLAS': pre_configure_hook_openblas_optarch_generic,
'WRF': pre_configure_hook_wrf_aarch64,
}

PRE_TEST_HOOKS = {
'SciPy-bundle': pre_test_hook_ignore_failing_tests_SciPybundle,
}

0 comments on commit 4f54fd6

Please sign in to comment.