package.py : hdf5 and lzo have examples of run_tests

This commit is contained in:
alalazo
2016-07-13 09:21:49 +02:00
parent 97c2224cd6
commit 5cc59507f7
3 changed files with 41 additions and 22 deletions

View File

@@ -44,6 +44,7 @@ def configure_args(self):
]
@AutotoolsPackage.sanity_check('build')
@AutotoolsPackage.on_package_attributes(run_tests=True)
def check(self):
if self.extra_args.get('build-tests', False):
make('check')
make('check')
make('test')