mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01: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
|
|
@ -12,6 +12,10 @@ add_subdirectory(LibTLS)
|
|||
add_subdirectory(LibUnicode)
|
||||
add_subdirectory(LibURL)
|
||||
|
||||
if (ENABLE_GUI_TARGETS)
|
||||
add_subdirectory(LibGfx)
|
||||
endif()
|
||||
|
||||
# FIXME: Increase support for building targets on Windows
|
||||
if (WIN32 AND ENABLE_WINDOWS_CI)
|
||||
return()
|
||||
|
|
@ -23,7 +27,6 @@ add_subdirectory(LibWasm)
|
|||
add_subdirectory(LibXML)
|
||||
|
||||
if (ENABLE_GUI_TARGETS)
|
||||
add_subdirectory(LibGfx)
|
||||
add_subdirectory(LibMedia)
|
||||
add_subdirectory(LibWeb)
|
||||
add_subdirectory(LibWebView)
|
||||
|
|
|
|||
|
|
@ -1,14 +1,20 @@
|
|||
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)
|
||||
serenity_test("${source}" LibGfx LIBS LibGfx)
|
||||
endforeach()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user