diff --git a/UI/Headless/Test.cpp b/UI/Headless/Test.cpp index fff379f8d2b..18bef7dc361 100644 --- a/UI/Headless/Test.cpp +++ b/UI/Headless/Test.cpp @@ -479,7 +479,7 @@ ErrorOr run_tests(Core::AnonymousBuffer const& theme, Web::DevicePixelSize TRY(collect_dump_tests(app, tests, ByteString::formatted("{}/Text", app.test_root_path), "."sv, TestMode::Text)); TRY(collect_ref_tests(app, tests, ByteString::formatted("{}/Ref", app.test_root_path), "."sv)); TRY(collect_crash_tests(app, tests, ByteString::formatted("{}/Crash", app.test_root_path), "."sv)); -#if !defined(AK_OS_MACOS) +#if defined(AK_OS_LINUX) && ARCH(X86_64) TRY(collect_ref_tests(app, tests, ByteString::formatted("{}/Screenshot", app.test_root_path), "."sv)); #endif