stestrCheckHook: init
This adds a useful hook to be used for projects that use stestr, it is primiative at the moment but covers most scenarios for using it. This PR also changes a Python module to start using it, once it lands, follow up PRs can update all of them to use it tree-wide. Signed-off-by: Vinetos <contact+git@vinetos.fr>
This commit is contained in:
@@ -550,6 +550,7 @@ are used in [`buildPythonPackage`](#buildpythonpackage-function).
|
||||
- `pythonRemoveBinBytecode` to remove bytecode from the `/bin` folder.
|
||||
- `setuptoolsBuildHook` to build a wheel using `setuptools`.
|
||||
- `sphinxHook` to build documentation and manpages using Sphinx.
|
||||
- `stestrCheckHook` to run tests with `stestr`.
|
||||
- `venvShellHook` to source a Python 3 `venv` at the `venvDir` location. A
|
||||
`venv` is created if it does not yet exist. `postVenvCreation` can be used to
|
||||
to run commands only after venv is first created.
|
||||
|
||||
Reference in New Issue
Block a user