UI: Only run Screenshot tests on x86_64 Linux

These were previously skipped on macOS, due to hard to
fix inconsistencies in the exact produced pixels.

Turns out, this is not just a macOS thing. The same sort
of hard-to-spot slight pixel deviations are present on
arm64 Linux as well.
This commit is contained in:
Andrew Kaster 2025-02-14 14:18:06 -07:00 committed by Jelle Raaijmakers
parent 62cd358fab
commit 7ed4557573
Notes: github-actions[bot] 2025-02-17 11:37:28 +00:00

View file

@ -479,7 +479,7 @@ ErrorOr<void> 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