diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py index cbb7501034b31fc78ea8986192bfb9750a498a0f..2820a3a3044f307fc9d09f268bfe575f32849b53 100644 --- a/var/spack/repos/builtin/packages/hdf5/package.py +++ b/var/spack/repos/builtin/packages/hdf5/package.py @@ -143,8 +143,8 @@ def configure_args(self): 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...")