diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-01-15 13:38:00 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-01-15 13:38:00 +0000 |
| commit | f596a36251c2cebe18ca9f5d802b0fcc4cc725da (patch) | |
| tree | d5cfacaa1bd4f4082f4ab9835dd151f0922f6b4e /dev-python/pytest-rerunfailures | |
| parent | 4cbcd3347fecebeb3f9cf14e634f333a21664104 (diff) | |
| download | baldeagleos-repo-f596a36251c2cebe18ca9f5d802b0fcc4cc725da.tar.gz baldeagleos-repo-f596a36251c2cebe18ca9f5d802b0fcc4cc725da.tar.xz baldeagleos-repo-f596a36251c2cebe18ca9f5d802b0fcc4cc725da.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pytest-rerunfailures')
| -rw-r--r-- | dev-python/pytest-rerunfailures/pytest-rerunfailures-10.2.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-python/pytest-rerunfailures/pytest-rerunfailures-10.2.ebuild b/dev-python/pytest-rerunfailures/pytest-rerunfailures-10.2.ebuild index 7433ec611e52..a3a9efaa8159 100644 --- a/dev-python/pytest-rerunfailures/pytest-rerunfailures-10.2.ebuild +++ b/dev-python/pytest-rerunfailures/pytest-rerunfailures-10.2.ebuild @@ -17,7 +17,15 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 s BDEPEND=" >=dev-python/pytest-5.0[${PYTHON_USEDEP}] - test? ( !!dev-python/flaky ) " distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_rerunfailures + if has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"; then + PYTEST_PLUGINS+=,xdist.plugin + fi + epytest +} |
