summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2017-01-27 13:38:21 -0600
committerTodd Gamblin <tgamblin@llnl.gov>2017-01-27 11:38:21 -0800
commit75763bb8e38f7fbb2b855ace453d0c31ec542427 (patch)
tree96df8d764f60d33e2286f054682f92b60727e6f5
parent58a4c5c14d386c862ccf5150b5ab07b57ff2b9b2 (diff)
downloadspack-75763bb8e38f7fbb2b855ace453d0c31ec542427.tar.gz
spack-75763bb8e38f7fbb2b855ace453d0c31ec542427.tar.bz2
spack-75763bb8e38f7fbb2b855ace453d0c31ec542427.tar.xz
spack-75763bb8e38f7fbb2b855ace453d0c31ec542427.zip
Make OpenSSL tests optional (#2939)
* Make OpenSSL tests optional * Add version constraint to Perl dependency in OpenSSL
-rw-r--r--var/spack/repos/builtin/packages/openssl/package.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/openssl/package.py b/var/spack/repos/builtin/packages/openssl/package.py
index 9b4070d43a..88896231fd 100644
--- a/var/spack/repos/builtin/packages/openssl/package.py
+++ b/var/spack/repos/builtin/packages/openssl/package.py
@@ -52,8 +52,10 @@ class Openssl(Package):
version('1.0.1r', '1abd905e079542ccae948af37e393d28')
version('1.0.1h', '8d6d684a9430d5cc98a62a5d8fbda8cf')
- depends_on("zlib")
- depends_on("perl", type='build')
+ depends_on('zlib')
+
+ # 'make test' requires Test::More version 0.96
+ depends_on('perl@5.14.0:', type='build')
parallel = False
@@ -88,5 +90,6 @@ class Openssl(Package):
filter_file(r'-arch x86_64', '', 'Makefile')
make()
- make('test') # 'VERBOSE=1'
+ if self.run_tests:
+ make('test') # 'VERBOSE=1'
make('install')