'Searches the Makefile for targets ``test`` and ``check``
and runs them if found.'

def check(self):

    with working_dir(self.build_directory):
        self._if_make_target_execute('test')
        self._if_make_target_execute('check')
