Skip to content

Commit

Permalink
Merge pull request #3231 from Flamefire/20240226142816_new_pr_perlmodule
Browse files Browse the repository at this point in the history
Honor pretestopts & testopts in PerlModule
  • Loading branch information
ocaisa authored Feb 27, 2024
2 parents 326cd1a + 8a9b25a commit a2864e7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions easybuild/easyblocks/generic/perlmodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,9 @@ def install_perl_module(self):

run_cmd("%s perl Build build %s" % (self.cfg['prebuildopts'], self.cfg['buildopts']))

if self.cfg['runtest']:
run_cmd('perl Build %s' % self.cfg['runtest'])
runtest = self.cfg['runtest']
if runtest:
run_cmd('%s perl Build %s %s' % (self.cfg['pretestopts'], runtest, self.cfg['testopts']))
run_cmd('%s perl Build install %s' % (self.cfg['preinstallopts'], self.cfg['installopts']))

def run(self):
Expand Down

0 comments on commit a2864e7

Please sign in to comment.