CMakePackage, AutotoolsPackage : added default behavior on check

This commit is contained in:
alalazo
2016-10-23 19:02:46 +02:00
parent ebbbed166e
commit fa3f07c092
4 changed files with 33 additions and 10 deletions

View File

@@ -144,7 +144,8 @@ def configure_args(self):
return ["--with-zlib=%s" % spec['zlib'].prefix] + extra_args
def check(self):
"Build and run a small program to test the installed HDF5 library"
super(Hdf5, self).check()
# Build and run a small program to test the installed HDF5 library
spec = self.spec
print("Checking HDF5 installation...")
checkdir = "spack-check"

View File

@@ -42,7 +42,3 @@ def configure_args(self):
'--disable-dependency-tracking',
'--enable-shared'
]
def check(self):
make('check')
make('test')

View File

@@ -44,6 +44,3 @@ class Qhull(CMakePackage):
url="http://www.qhull.org/download/qhull-2012.1-src.tgz")
depends_on('cmake@2.6:', type='build')
def check(self):
make('test')