From ccb87b4cb44246dbc8526748f86b457aab368278 Mon Sep 17 00:00:00 2001 From: ayeteadoe Date: Thu, 10 Jul 2025 22:47:03 -0700 Subject: [PATCH] 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 --- Tests/LibGfx/CMakeLists.txt | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/Tests/LibGfx/CMakeLists.txt b/Tests/LibGfx/CMakeLists.txt index dc707ebf831..38103195afe 100644 --- a/Tests/LibGfx/CMakeLists.txt +++ b/Tests/LibGfx/CMakeLists.txt @@ -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()