From 99cf7b4ab39d2431d8641cbc56429b52d351e2ce Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Thu, 10 Nov 2016 23:50:32 -0600 Subject: Run HDF 5 tests post-installation (#2297) --- var/spack/repos/builtin/packages/hdf5/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'var') 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...") -- cgit v1.2.3-70-g09d2