mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
Tests/LibGfx: Enable file based tests on Windows
These actually were always working since we first enabling LibGfx on Windows. I was just running them outside of the ctest context and therefore had the wrong working directory so the test-inputs folder could not be found
This commit is contained in:
parent
88efb362c4
commit
ccb87b4cb4
Notes:
github-actions[bot]
2025-07-11 08:55:49 +00:00
Author: https://github.com/ayeteadoe
Commit: ccb87b4cb4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5396
Reviewed-by: https://github.com/gmta ✅
1 changed files with 4 additions and 10 deletions
|
@ -1,20 +1,14 @@
|
|||
set(TEST_SOURCES
|
||||
BenchmarkJPEGLoader.cpp
|
||||
TestColor.cpp
|
||||
TestImageDecoder.cpp
|
||||
TestImageWriter.cpp
|
||||
TestQuad.cpp
|
||||
TestRect.cpp
|
||||
TestWOFF.cpp
|
||||
TestWOFF2.cpp
|
||||
)
|
||||
|
||||
# FIXME: Address runtime errors for file-based tests on Windows
|
||||
if (NOT WIN32)
|
||||
list(APPEND TEST_SOURCES
|
||||
BenchmarkJPEGLoader.cpp
|
||||
TestImageDecoder.cpp
|
||||
TestWOFF.cpp
|
||||
TestWOFF2.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
foreach(source IN LISTS TEST_SOURCES)
|
||||
ladybird_test("${source}" LibGfx LIBS LibGfx)
|
||||
endforeach()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue