mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 04:37:22 +00:00
Meta: Use correct binary paths for MacOS in WPT.sh
This commit is contained in:
parent
29886b804d
commit
961ad3c8e9
Notes:
github-actions[bot]
2024-08-17 05:44:29 +00:00
Author: https://github.com/tcl3
Commit: 961ad3c8e9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1086
1 changed files with 9 additions and 2 deletions
11
Meta/WPT.sh
11
Meta/WPT.sh
|
@ -11,8 +11,15 @@ WPT_REPOSITORY_URL=${WPT_REPOSITORY_URL:-"https://github.com/web-platform-tests/
|
||||||
# shellcheck source=/dev/null
|
# shellcheck source=/dev/null
|
||||||
. "${DIR}/shell_include.sh"
|
. "${DIR}/shell_include.sh"
|
||||||
|
|
||||||
LADYBIRD_BINARY=${LADYBIRD_BINARY:-"${LADYBIRD_SOURCE_DIR}/Build/ladybird/bin/Ladybird"}
|
default_binary_path() {
|
||||||
WEBDRIVER_BINARY=${WEBDRIVER_BINARY:-"${LADYBIRD_SOURCE_DIR}/Build/ladybird/bin/WebDriver"}
|
if [ "$(uname -s)" = "Darwin" ]; then
|
||||||
|
echo "${LADYBIRD_SOURCE_DIR}/Build/ladybird/bin/Ladybird.app/Contents/MacOS/"
|
||||||
|
else
|
||||||
|
echo "${LADYBIRD_SOURCE_DIR}/Build/ladybird/bin/"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
LADYBIRD_BINARY=${LADYBIRD_BINARY:-"$(default_binary_path)/Ladybird"}
|
||||||
|
WEBDRIVER_BINARY=${WEBDRIVER_BINARY:-"$(default_binary_path)/WebDriver"}
|
||||||
WPT_PROCESSES=${WPT_PROCESSES:-$(get_number_of_processing_units)}
|
WPT_PROCESSES=${WPT_PROCESSES:-$(get_number_of_processing_units)}
|
||||||
WPT_CERTIFICATES=(
|
WPT_CERTIFICATES=(
|
||||||
"tools/certs/cacert.pem"
|
"tools/certs/cacert.pem"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue