Make running perl's tests conditional
Make running perl's tests conditional, one must now specify the `--run-tests` flag to the `spack install` command in order to run the tests. On one system (8 core, 16GB Digital Ocean Droplet), installing without tests takes 3 minutes, with tests takes 16 minutes.
This commit is contained in:
parent
4d72e0fb9d
commit
08ff7b65af
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@ def install(self, spec, prefix):
|
|||
configure = Executable('./Configure')
|
||||
configure("-des", "-Dprefix=" + prefix)
|
||||
make()
|
||||
make("test")
|
||||
if self.run_tests:
|
||||
make("test")
|
||||
make("install")
|
||||
|
||||
if '+cpanm' in spec:
|
||||
|
|
Loading…
Reference in a new issue