mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03: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: https://github.com/SerenityOS/serenity/commit/5291d516c0 Pull-request: https://github.com/SerenityOS/serenity/pull/20717
@ -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…
Reference in New Issue
Block a user