mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
Tests/LibGfx: Enable non file input tests in Windows CI
All the file-based tests left out build, but they all fail at run time with the error "No such file or directory" or a Core::File-based assertion failure for the Benchmark test
This commit is contained in:
parent
2119ea982e
commit
e28c956629
Notes:
github-actions[bot]
2025-06-27 01:37:41 +00:00
Author: https://github.com/ayeteadoe
Commit: e28c956629
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5188
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/R-Goc
Reviewed-by: https://github.com/stasoid
2 changed files with 14 additions and 5 deletions
|
@ -12,6 +12,10 @@ add_subdirectory(LibTLS)
|
||||||
add_subdirectory(LibUnicode)
|
add_subdirectory(LibUnicode)
|
||||||
add_subdirectory(LibURL)
|
add_subdirectory(LibURL)
|
||||||
|
|
||||||
|
if (ENABLE_GUI_TARGETS)
|
||||||
|
add_subdirectory(LibGfx)
|
||||||
|
endif()
|
||||||
|
|
||||||
# FIXME: Increase support for building targets on Windows
|
# FIXME: Increase support for building targets on Windows
|
||||||
if (WIN32 AND ENABLE_WINDOWS_CI)
|
if (WIN32 AND ENABLE_WINDOWS_CI)
|
||||||
return()
|
return()
|
||||||
|
@ -23,7 +27,6 @@ add_subdirectory(LibWasm)
|
||||||
add_subdirectory(LibXML)
|
add_subdirectory(LibXML)
|
||||||
|
|
||||||
if (ENABLE_GUI_TARGETS)
|
if (ENABLE_GUI_TARGETS)
|
||||||
add_subdirectory(LibGfx)
|
|
||||||
add_subdirectory(LibMedia)
|
add_subdirectory(LibMedia)
|
||||||
add_subdirectory(LibWeb)
|
add_subdirectory(LibWeb)
|
||||||
add_subdirectory(LibWebView)
|
add_subdirectory(LibWebView)
|
||||||
|
|
|
@ -1,13 +1,19 @@
|
||||||
set(TEST_SOURCES
|
set(TEST_SOURCES
|
||||||
BenchmarkJPEGLoader.cpp
|
|
||||||
TestColor.cpp
|
TestColor.cpp
|
||||||
TestImageDecoder.cpp
|
|
||||||
TestImageWriter.cpp
|
TestImageWriter.cpp
|
||||||
TestQuad.cpp
|
TestQuad.cpp
|
||||||
TestRect.cpp
|
TestRect.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
# FIXME: Address runtime errors for file-based tests on Windows
|
||||||
|
if (NOT WIN32)
|
||||||
|
list(APPEND TEST_SOURCES
|
||||||
|
BenchmarkJPEGLoader.cpp
|
||||||
|
TestImageDecoder.cpp
|
||||||
TestWOFF.cpp
|
TestWOFF.cpp
|
||||||
TestWOFF2.cpp
|
TestWOFF2.cpp
|
||||||
)
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
foreach(source IN LISTS TEST_SOURCES)
|
foreach(source IN LISTS TEST_SOURCES)
|
||||||
serenity_test("${source}" LibGfx LIBS LibGfx)
|
serenity_test("${source}" LibGfx LIBS LibGfx)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue