aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index e0b9a4e7b28..de77c85c285 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -171,9 +171,11 @@ class MachCommands(CommandBase):
category='testing')
@CommandArgument('--base', default=None,
help="the base URL for testcases")
+ @CommandArgument('--date', default=None,
+ help="the datestamp for the data")
@CommandArgument('--submit', '-a', default=False, action="store_true",
help="submit the data to perfherder")
- def test_perf(self, base=None, submit=False):
+ def test_perf(self, base=None, date=None, submit=False):
self.set_software_rendering_env(True)
self.ensure_bootstrapped()
@@ -181,6 +183,8 @@ class MachCommands(CommandBase):
cmd = ["bash", "test_perf.sh"]
if base:
cmd += ["--base", base]
+ if date:
+ cmd += ["--date", date]
if submit:
cmd += ["--submit"]
return call(cmd,