From a63602d7627411069bd4800a6bd15858cb801745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 25 Jul 2021 13:31:49 +0200 Subject: dev-python/scikit-build: Use epytest --deselect instead of rm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/scikit-build/scikit-build-0.11.1.ebuild | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'dev-python') diff --git a/dev-python/scikit-build/scikit-build-0.11.1.ebuild b/dev-python/scikit-build/scikit-build-0.11.1.ebuild index 9cb69aa5691a..398a1f1c646a 100644 --- a/dev-python/scikit-build/scikit-build-0.11.1.ebuild +++ b/dev-python/scikit-build/scikit-build-0.11.1.ebuild @@ -41,14 +41,13 @@ distutils_enable_sphinx docs \ dev-python/sphinx-issues distutils_enable_tests pytest -python_prepare_all() { - # Skip tests causing sandbox violations - rm \ - tests/test_hello_cpp.py \ - tests/test_issue274_support_default_package_dir.py \ - tests/test_issue274_support_one_package_without_package_dir.py \ - tests/test_issue284_build_ext_inplace.py \ - tests/test_issue334_configure_cmakelists_non_cp1252_encoding.py \ - || die - distutils-r1_python_prepare_all +python_test() { + local deselect=( + # sandbox violations + tests/test_hello_cpp.py::test_hello_develop + tests/test_issue274_support_default_package_dir.py + tests/test_issue274_support_one_package_without_package_dir.py + tests/test_issue334_configure_cmakelists_non_cp1252_encoding.py + ) + epytest ${deselect[@]/#/--deselect } } -- cgit v1.2.3