1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:07:34 +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:
Jelle Raaijmakers 2022-04-15 01:08:15 +02:00 committed by Ali Mohammad Pur
parent 757f506fda
commit 8cfabbcd93
5 changed files with 75 additions and 31 deletions

View file

@ -3,5 +3,7 @@ set(TEST_SOURCES
)
foreach(source IN LISTS TEST_SOURCES)
serenity_test("${source}" LibGL LIBS LibGL)
serenity_test("${source}" LibGL LIBS LibCore LibGL)
endforeach()
install(DIRECTORY reference-images DESTINATION usr/Tests/LibGL)