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:
CHANG FU CHIAO 2016-08-28 16:16:34 +08:00
parent 0dd005eacc
commit fd204e0365
5 changed files with 43 additions and 5 deletions

View file

@ -41,7 +41,7 @@ def execute_test(url, command, timeout):
def get_servo_command(url):
ua_script_path = "{}/user-agent-js".format(os.getcwd())
return ["./servo/servo", url,
return ["../../../target/release/servo", url,
"--userscripts", ua_script_path,
"-x", "-o", "output.png"]