summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2016-11-10 23:50:32 -0600
committerTodd Gamblin <tgamblin@llnl.gov>2016-11-10 21:50:32 -0800
commit99cf7b4ab39d2431d8641cbc56429b52d351e2ce (patch)
tree1b8a6c32c4eb1bde277b1d5769668f2469fe3325
parentbece9aca84061ef82b61f20ed2b00dbb65275b1c (diff)
downloadspack-99cf7b4ab39d2431d8641cbc56429b52d351e2ce.tar.gz
spack-99cf7b4ab39d2431d8641cbc56429b52d351e2ce.tar.bz2
spack-99cf7b4ab39d2431d8641cbc56429b52d351e2ce.tar.xz
spack-99cf7b4ab39d2431d8641cbc56429b52d351e2ce.zip
Run HDF 5 tests post-installation (#2297)
-rw-r--r--var/spack/repos/builtin/packages/hdf5/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py
index cbb7501034..2820a3a304 100644
--- a/var/spack/repos/builtin/packages/hdf5/package.py
+++ b/var/spack/repos/builtin/packages/hdf5/package.py
@@ -143,8 +143,8 @@ class Hdf5(AutotoolsPackage):
return ["--with-zlib=%s" % spec['zlib'].prefix] + extra_args
- def check(self):
- super(Hdf5, self).check()
+ @AutotoolsPackage.sanity_check('install')
+ def check_install(self):
# Build and run a small program to test the installed HDF5 library
spec = self.spec
print("Checking HDF5 installation...")