From 93f66ab0cc68a1178b55d563bd2f81ac512bfb49 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Mon, 9 Jan 2017 19:32:52 +0100 Subject: [PATCH] mach test-unit: also pass extra arguments to style_tests harness --- python/servo/testing_commands.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index 1f03addfc6a..04b0542a079 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -276,6 +276,11 @@ class MachCommands(CommandBase): args += ["%s" % ' '.join(features + ["testing"])] else: args += ["testing"] + + args += test_patterns + + if nocapture: + args += ["--", "--nocapture"] return call(args, env=env, cwd=self.servo_crate()) @Command('test-stylo',