diff options
Diffstat (limited to 'python/servo')
-rw-r--r-- | python/servo/testing_commands.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index 0ce95850f4b..56eb1377f7b 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -140,6 +140,8 @@ class MachCommands(CommandBase): allow_all_args=True) @CommandArgument('params', default=None, nargs='...', help="Command-line arguments to be passed through to wpt/run.sh") - def test_wpt(self, params): + def test_wpt(self, params=None): + if params is None: + params = [] return subprocess.call(["bash", path.join("tests", "wpt", "run.sh")] + params, env=self.build_env()) |