diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/gromacs-chain-coordinate/package.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gromacs-chain-coordinate/package.py b/var/spack/repos/builtin/packages/gromacs-chain-coordinate/package.py index a8d1d55c03..dc0d4ec37e 100644 --- a/var/spack/repos/builtin/packages/gromacs-chain-coordinate/package.py +++ b/var/spack/repos/builtin/packages/gromacs-chain-coordinate/package.py @@ -77,3 +77,11 @@ class GromacsChainCoordinate(CMakePackage): def cmake_args(self): return super(GromacsChainCoordinate, self).cmake_args() + + def check(self): + """The default 'test' targets does not compile the test programs""" + with working_dir(self.build_directory): + if self.generator == 'Unix Makefiles': + self._if_make_target_execute('check') + elif self.generator == 'Ninja': + self._if_ninja_target_execute('check') |