From a9261b9daff7d9401e491369cd44b3cc54d4bc97 Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Sun, 7 Jun 2026 06:28:43 +0100 Subject: [PATCH] test-web: Don't include skipped tests in `--dry-run` output --- Tests/LibWeb/test-web/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/LibWeb/test-web/main.cpp b/Tests/LibWeb/test-web/main.cpp index 0934340fd1..bb8db4e56b 100644 --- a/Tests/LibWeb/test-web/main.cpp +++ b/Tests/LibWeb/test-web/main.cpp @@ -1079,6 +1079,8 @@ static ErrorOr run_tests(Core::AnonymousBuffer const& theme, Web::DevicePix shuffle(tests); if (app.test_dry_run) { + tests.remove_all_matching([](auto const& test) { return s_skipped_tests.contains_slow(test.input_path); }); + outln("Found {} tests...", tests.size()); for (auto const& [i, test] : enumerate(tests))