diff options
author | bernhardkaindl <43588962+bernhardkaindl@users.noreply.github.com> | 2021-09-30 18:18:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-30 18:18:03 +0200 |
commit | af54f7b15b32445a6af024a7423c99a7ce2cffa1 (patch) | |
tree | 0f9e497303b4e1f6738ce1eed1c5676d960b5cbc | |
parent | 1aa7758dbb572aa0f92efe1e1f61b2df37aae2e5 (diff) | |
download | spack-af54f7b15b32445a6af024a7423c99a7ce2cffa1.tar.gz spack-af54f7b15b32445a6af024a7423c99a7ce2cffa1.tar.bz2 spack-af54f7b15b32445a6af024a7423c99a7ce2cffa1.tar.xz spack-af54f7b15b32445a6af024a7423c99a7ce2cffa1.zip |
gromacs-chain-coordinate: Fix calling the test suite (#26367)
-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') |