mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 09:17:45 +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:
parent
d7f04c9aa1
commit
f739e976a4
2 changed files with 7 additions and 2 deletions
|
@ -269,4 +269,9 @@ if (BUILD_TESTING)
|
|||
ENVIRONMENT QT_QPA_PLATFORM=offscreen
|
||||
ENVIRONMENT "SERENITY_SOURCE_DIR=${SERENITY_SOURCE_DIR}"
|
||||
)
|
||||
if (APPLE)
|
||||
set_tests_properties(LibWeb WPT PROPERTIES
|
||||
ENVIRONMENT "WEBDRIVER_BINARY=$<TARGET_FILE_DIR:ladybird>/$<TARGET_FILE_NAME:WebDriver>"
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue