mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 16:58:58 +00:00
Tests: Implement reference image testing for LibGL
Each LibGL test can now be tested against a reference QOI image. Initially, these images can be generated by setting `SAVE_OUTPUT` to `true`, which will save a bunch of QOI images to `/home/anon`.
This commit is contained in:
parent
757f506fda
commit
8cfabbcd93
Notes:
sideshowbarker
2024-07-17 11:45:52 +09:00
Author: https://github.com/gmta
Commit: 8cfabbcd93
Pull-request: https://github.com/SerenityOS/serenity/pull/13681
Reviewed-by: https://github.com/sunverwerth ✅
5 changed files with 75 additions and 31 deletions
|
@ -590,9 +590,10 @@ if (BUILD_LAGOM)
|
|||
endforeach()
|
||||
|
||||
# GL
|
||||
file(COPY "${SERENITY_PROJECT_ROOT}/Tests/LibGL/reference-images" DESTINATION "./")
|
||||
file(GLOB LIBGL_TESTS CONFIGURE_DEPENDS "../../Tests/LibGL/*.cpp")
|
||||
foreach(source ${LIBGL_TESTS})
|
||||
lagom_test(${source} LIBS LagomGL)
|
||||
lagom_test(${source} WORKING_DIRECTORY LIBS LagomGL LagomGPU LagomSoftGPU)
|
||||
endforeach()
|
||||
|
||||
# PDF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue