1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:47:46 +00:00

Tests: Pass App Bundle path to WebDriver to WPT CTest test on macOS

The WebDriver binary in ${CMAKE_CURRENT_BINARY_DIR}/bin doesn't actually
have access to the Ladybird binary in the default CMake setup.
This commit is contained in:
Andrew Kaster 2024-02-07 09:10:52 -07:00 committed by Andreas Kling
parent d7f04c9aa1
commit f739e976a4
2 changed files with 7 additions and 2 deletions

View file

@ -11,8 +11,8 @@ then
fi
WEBDRIVER_BINARY=$(env PATH="${SERENITY_SOURCE_DIR}/Build/lagom/bin:${SERENITY_SOURCE_DIR}/Meta/Lagom/Build/bin:${PATH}" \
which WebDriver)
: "${WEBDRIVER_BINARY:=$(env PATH="${SERENITY_SOURCE_DIR}/Build/lagom/bin:${SERENITY_SOURCE_DIR}/Meta/Lagom/Build/bin:${PATH}" \
which WebDriver)}"
update_expectations_metadata=false
for arg in "$@"; do