mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 13:17:34 +00:00
LibGfx: Move TestFontHandling over to input file approach in 8cfabbcd93
Rather than reading files out of /res, put them in a subfolder of Tests/LibGfx/ and pick the path based on AK_OS_SERENITY. That way, the tests can also pass when run under lagom.
This commit is contained in:
parent
389224c2d2
commit
b8b5e0f680
3 changed files with 16 additions and 5 deletions
|
@ -8,4 +8,4 @@ foreach(source IN LISTS TEST_SOURCES)
|
|||
serenity_test("${source}" LibGfx LIBS LibGfx)
|
||||
endforeach()
|
||||
|
||||
install(FILES TestFont.font DESTINATION usr/Tests/LibGfx)
|
||||
install(DIRECTORY test-inputs DESTINATION usr/Tests/LibGfx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue