diff options
-rw-r--r-- | var/spack/repos/builtin/packages/libssh2/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libssh2/package.py b/var/spack/repos/builtin/packages/libssh2/package.py index 7b9beb7b14..933a996b03 100644 --- a/var/spack/repos/builtin/packages/libssh2/package.py +++ b/var/spack/repos/builtin/packages/libssh2/package.py @@ -32,3 +32,8 @@ class Libssh2(CMakePackage): # The shared library is not installed correctly on Darwin; fix this if self.spec.satisfies('platform=darwin'): fix_darwin_install_name(self.prefix.lib) + + def check(self): + # Docker is required to run tests + if which('docker'): + make('test') |