Merge pull request #1371 from EstebanBorai/feat/geckodriver-linux-aarch64

feat(webdriver): support geckodriver for `linux-aarch64`
master
Jesper Håkansson 10 months ago committed by GitHub
commit bd94075763
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      src/test/webdriver/geckodriver.rs
  2. 1
      tests/all/webdriver.rs

@ -40,6 +40,8 @@ pub fn install_geckodriver(cache: &Cache, installation_allowed: bool) -> Result<
("linux32", "tar.gz") ("linux32", "tar.gz")
} else if target::LINUX && target::x86_64 { } else if target::LINUX && target::x86_64 {
("linux64", "tar.gz") ("linux64", "tar.gz")
} else if target::LINUX && target::aarch64 {
("linux-aarch64", "tar.gz")
} else if target::MACOS { } else if target::MACOS {
("macos", "tar.gz") ("macos", "tar.gz")
} else if target::WINDOWS && target::x86 { } else if target::WINDOWS && target::x86 {

@ -19,6 +19,7 @@ fn can_install_chromedriver() {
#[cfg(any( #[cfg(any(
all(target_os = "linux", target_arch = "x86"), all(target_os = "linux", target_arch = "x86"),
all(target_os = "linux", target_arch = "x86_64"), all(target_os = "linux", target_arch = "x86_64"),
all(target_os = "linux", target_arch = "aarch64"),
all(target_os = "macos", target_arch = "x86_64"), all(target_os = "macos", target_arch = "x86_64"),
all(target_os = "macos", target_arch = "aarch64"), all(target_os = "macos", target_arch = "aarch64"),
all(target_os = "windows", target_arch = "x86"), all(target_os = "windows", target_arch = "x86"),

Loading…
Cancel
Save