gromacs-chain-coordinate: Fix calling the test suite (#26367)

This commit is contained in:
bernhardkaindl
2021-09-30 18:18:03 +02:00
committed by GitHub
parent 1aa7758dbb
commit af54f7b15b

View File

@@ -77,3 +77,11 @@ def patch(self):
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')