mirror of
https://github.com/servo/servo.git
synced 2025-06-09 00:53:26 +00:00
Create ./mach test-perf command
in testing_commands.py, I linked the new command to test_perf.sh in test_perf.sh, it would prepare tp5n.zip and virtual environment then run test_all.sh
This commit is contained in:
parent
0dd005eacc
commit
fd204e0365
5 changed files with 43 additions and 5 deletions
|
@ -169,6 +169,16 @@ class MachCommands(CommandBase):
|
|||
|
||||
return call(["cargo", "test"], env=env, cwd=path.join("ports", "geckolib"))
|
||||
|
||||
@Command('test-perf',
|
||||
description='Run the page load performance test',
|
||||
category='testing')
|
||||
def test_perf(self):
|
||||
self.ensure_bootstrapped()
|
||||
env = self.build_env()
|
||||
return call(["bash", "test_perf.sh"],
|
||||
env=env,
|
||||
cwd=path.join("etc", "ci", "performance"))
|
||||
|
||||
@Command('test-unit',
|
||||
description='Run unit tests',
|
||||
category='testing')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue