mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +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: https://github.com/LadybirdBrowser/ladybird/commit/961ad3c8e9a 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
|
||||
. "${DIR}/shell_include.sh"
|
||||
|
||||
LADYBIRD_BINARY=${LADYBIRD_BINARY:-"${LADYBIRD_SOURCE_DIR}/Build/ladybird/bin/Ladybird"}
|
||||
WEBDRIVER_BINARY=${WEBDRIVER_BINARY:-"${LADYBIRD_SOURCE_DIR}/Build/ladybird/bin/WebDriver"}
|
||||
default_binary_path() {
|
||||
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_CERTIFICATES=(
|
||||
"tools/certs/cacert.pem"
|
||||
|
|
Loading…
Reference in a new issue