commit:     bca2e7248a987c0e0b83fbd5cb261f013b5afac8
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  5 12:04:33 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Sep  5 12:06:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bca2e724

dev-util/selenium-manager: disable more tests

Disable more tests that either want to download things or depend on
browsers not listed in BDEPEND.

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-util/selenium-manager/selenium-manager-4.12.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-util/selenium-manager/selenium-manager-4.12.0.ebuild 
b/dev-util/selenium-manager/selenium-manager-4.12.0.ebuild
index 2b64aa091dff..fe10273a6e26 100644
--- a/dev-util/selenium-manager/selenium-manager-4.12.0.ebuild
+++ b/dev-util/selenium-manager/selenium-manager-4.12.0.ebuild
@@ -285,12 +285,13 @@ src_prepare() {
        default
 
        # Avoid tests requiring a network
-       rm -f tests/{chrome_download,grid}_tests.rs || die
+       rm -f tests/{browser_download,chrome_download,grid}_tests.rs || die
 
        # Avoid tests requiring a specific browser to be installed to keep
        # the dependency tree manageable.
        rm -f tests/{cli,iexplorer,output,safari,stable_browser}_tests.rs || die
-       sed -i -e '/case.*\(chrome\|edge\|iexplorer\)/ s:^://:' 
tests/exec_driver_tests.rs || die
+       sed -i -e '/case.*\(chrome\|edge\|iexplorer\)/ s:^://:' 
tests/{browser,exec_driver}_tests.rs || die
+       sed -i -e '/browser_version_test/,/^}/ s:^://:' tests/browser_tests.rs 
|| die
 }
 
 src_install() {

Reply via email to