Disable OpenSSL test dependency until we have proper support. (#3760)

This commit is contained in:
Todd Gamblin 2017-04-07 12:14:02 -07:00 committed by Adam J. Stewart
parent ed4f276b68
commit d995f9a314

View file

@ -59,8 +59,10 @@ class Openssl(Package):
depends_on('zlib') depends_on('zlib')
# 'make test' requires Test::More version 0.96 # TODO: 'make test' requires Perl module Test::More version 0.96
depends_on('perl@5.14.0:', type='build') # TODO: uncomment when test dependency types are supported.
# TODO: This is commented in the meantime to avoid dependnecy bloat.
# depends_on('perl@5.14.0:', type='build', when='+tests')
parallel = False parallel = False
@ -95,6 +97,7 @@ def install(self, spec, prefix):
filter_file(r'-arch x86_64', '', 'Makefile') filter_file(r'-arch x86_64', '', 'Makefile')
make() make()
if self.run_tests: # TODO: add this back when we have a 'test' dependency type. See above.
make('test') # 'VERBOSE=1' # if self.run_tests:
# make('test') # 'VERBOSE=1'
make('install') make('install')