charm: add possibility to run tests (#8665)
This commit is contained in:
parent
4ed7931200
commit
bc5168e4b1
@ -235,3 +235,9 @@ def install(self, spec, prefix):
|
|||||||
except (IOError, OSError):
|
except (IOError, OSError):
|
||||||
pass
|
pass
|
||||||
shutil.rmtree(join_path(prefix, "tmp"))
|
shutil.rmtree(join_path(prefix, "tmp"))
|
||||||
|
|
||||||
|
@run_after('install')
|
||||||
|
@on_package_attributes(run_tests=True)
|
||||||
|
def check_build(self):
|
||||||
|
make('-C', join_path(self.stage.path, 'charm/tests'),
|
||||||
|
'test', parallel=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user