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
@ -33,7 +33,8 @@ def install(self, spec, prefix):
|
|||||||
configure = Executable('./Configure')
|
configure = Executable('./Configure')
|
||||||
configure("-des", "-Dprefix=" + prefix)
|
configure("-des", "-Dprefix=" + prefix)
|
||||||
make()
|
make()
|
||||||
make("test")
|
if self.run_tests:
|
||||||
|
make("test")
|
||||||
make("install")
|
make("install")
|
||||||
|
|
||||||
if '+cpanm' in spec:
|
if '+cpanm' in spec:
|
||||||
|
Loading…
Reference in New Issue
Block a user