packages : moved decorators into AutotoolsPackage and CMakePackage

This commit is contained in:
alalazo
2016-10-22 01:03:07 +02:00
parent 012da99644
commit 482f60d1d3
5 changed files with 23 additions and 16 deletions

View File

@@ -143,9 +143,7 @@ def configure_args(self):
return ["--with-zlib=%s" % spec['zlib'].prefix] + extra_args
@AutotoolsPackage.sanity_check('install')
@AutotoolsPackage.on_package_attributes(run_tests=True)
def check_install(self):
def check(self):
"Build and run a small program to test the installed HDF5 library"
spec = self.spec
print("Checking HDF5 installation...")