From 4d43844ecee7390f9a742d74bb2373e249db61bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20W=C3=BClker?= Date: Sun, 21 Sep 2025 02:36:07 +0200 Subject: [PATCH] Remove `test-content` subcommand from mach (#39412) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content tests have been replaced by web platform tests 10 years ago (see https://github.com/servo/servo/commit/9be71b941fc43b15d4f5b50ebba772c8430c601c). I think it is fair to assume that no one is going to run the relevant subcommand anymore. Let's remove it. Signed-off-by: Simon Wülker --- python/servo/testing_commands.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index 339b99c1f02..b780deff89a 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -268,11 +268,6 @@ class MachCommands(CommandBase): assert isinstance(result, int) return result - @Command("test-content", description="Run the content tests", category="testing") - def test_content(self) -> int: - print("Content tests have been replaced by web-platform-tests under tests/wpt/mozilla/.") - return 0 - @Command("test-tidy", description="Run the source code tidiness check", category="testing") @CommandArgument( "--all",