mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
LibWeb: Ensure layout/text/ref tests run with the desired default theme
Without setting the --resources flag, headless-browser defaults to /res for all resources it tries to find, including the theme. It will not find this path on Lagom, so our attempt to load the default theme does not accomplish anything.
This commit is contained in:
parent
4fc88aa17b
commit
5291d516c0
Notes:
sideshowbarker
2024-07-17 01:28:15 +09:00
Author: https://github.com/trflynn89
Commit: 5291d516c0
Pull-request: https://github.com/SerenityOS/serenity/pull/20717
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ include(CTest)
|
|||
if (BUILD_TESTING)
|
||||
add_test(
|
||||
NAME LibWeb
|
||||
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/../bin/headless-browser --run-tests ${SERENITY_SOURCE_DIR}/Tests/LibWeb
|
||||
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/../bin/headless-browser --resources "${SERENITY_SOURCE_DIR}/Base/res" --run-tests ${SERENITY_SOURCE_DIR}/Tests/LibWeb
|
||||
)
|
||||
add_test(
|
||||
NAME WPT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue