mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 05:37:44 +00:00
Ladybird+CI: Move layout_test.sh test runner from CI yml into CMake
We should be able to run this locally, as long as ENABLE_LAGOM_LADYBIRD is true, or if building ladybird from the ladybird source directory. This removes a special case from the Lagom CI yml file.
This commit is contained in:
parent
af58f012be
commit
3d33217d60
2 changed files with 9 additions and 10 deletions
|
@ -137,3 +137,12 @@ add_dependencies(ladybird SQLServer WebContent WebDriver)
|
|||
if(NOT CMAKE_SKIP_INSTALL_RULES)
|
||||
include(cmake/InstallRules.cmake)
|
||||
endif()
|
||||
|
||||
include(CTest)
|
||||
if (BUILD_TESTING)
|
||||
add_test(
|
||||
NAME Layout
|
||||
COMMAND ${SERENITY_SOURCE_DIR}/Tests/LibWeb/Layout/layout_test.sh ${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
set_tests_properties(Layout PROPERTIES ENVIRONMENT QT_QPA_PLATFORM=offscreen)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue