diff --git a/var/spack/repos/builtin/packages/git/package.py b/var/spack/repos/builtin/packages/git/package.py index dac49b4500..10225f196c 100644 --- a/var/spack/repos/builtin/packages/git/package.py +++ b/var/spack/repos/builtin/packages/git/package.py @@ -208,6 +208,9 @@ def filter_rt(self): # Don't link with -lrt; the system has no (and needs no) librt filter_file(r' -lrt$', '', 'Makefile') + def check(self): + make('test') + @run_after('install') def install_completions(self): copy_tree('contrib/completion', self.prefix.share)