Add smoke tests to Ginkgo. (#19888)

This commit is contained in:
tcojean 2020-11-12 21:42:34 +01:00 committed by GitHub
parent bb42470211
commit 978e85d669
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,3 +93,10 @@ def cmake_args(self):
args.append('-DHIPBLAS_PATH={0}'.
format(spec['hipblas'].prefix))
return args
@run_after('install')
@on_package_attributes(run_tests=True)
def test_install(self):
"""Perform smoke tests on the installed package."""
with working_dir(self.build_directory):
make("test_install")