Ensure that tests are optional (#3922)
This commit is contained in:
@@ -111,7 +111,8 @@ def install(self, spec, prefix):
|
||||
"-L%s" % spec["hdf5"].prefix.lib, "-lhdf5")
|
||||
_install_shlib("libblosc_plugin", ".libs", prefix.lib)
|
||||
|
||||
self.check_install(spec)
|
||||
if self.run_tests:
|
||||
self.check_install(spec)
|
||||
|
||||
def check_install(self, spec):
|
||||
"Build and run a small program to test the installed HDF5 Blosc plugin"
|
||||
|
Reference in New Issue
Block a user