mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 18:27:36 +00:00
Ladybird+Meta: Add ctest to run WPT in the Integration configuration
By running ctest -C Integration -R WPT, you can run WPT. Adding just -C Integration will run all other tests *and* the WPT test. Also add support for ./Meta/serenity.sh test lagom WPT to serenity.sh
This commit is contained in:
parent
8e605fb0f9
commit
99499a6fae
2 changed files with 16 additions and 5 deletions
|
@ -219,5 +219,14 @@ if (BUILD_TESTING)
|
|||
NAME LibWeb
|
||||
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/../bin/headless-browser --run-tests ${SERENITY_SOURCE_DIR}/Tests/LibWeb
|
||||
)
|
||||
set_tests_properties(LibWeb PROPERTIES ENVIRONMENT QT_QPA_PLATFORM=offscreen)
|
||||
add_test(
|
||||
NAME WPT
|
||||
CONFIGURATIONS Integration
|
||||
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/../Tests/LibWeb/WPT/run.sh
|
||||
)
|
||||
set_tests_properties(LibWeb WPT PROPERTIES
|
||||
DEPENDS ladybird
|
||||
ENVIRONMENT QT_QPA_PLATFORM=offscreen
|
||||
ENVIRONMENT "SERENITY_SOURCE_DIR=${SERENITY_SOURCE_DIR}"
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue