CMakePackage, AutotoolsPackage : added default behavior on check
This commit is contained in:
@@ -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"
|
||||
|
@@ -42,7 +42,3 @@ def configure_args(self):
|
||||
'--disable-dependency-tracking',
|
||||
'--enable-shared'
|
||||
]
|
||||
|
||||
def check(self):
|
||||
make('check')
|
||||
make('test')
|
||||
|
@@ -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')
|
||||
|
Reference in New Issue
Block a user