mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Use selenium to drive gecko test
This commit is contained in:
parent
1c26f44cbb
commit
6110017569
5 changed files with 165 additions and 84 deletions
|
@ -13,9 +13,11 @@ do
|
|||
case "${1}" in
|
||||
--servo)
|
||||
engine="--engine=servo"
|
||||
timeout=60
|
||||
;;
|
||||
--gecko)
|
||||
engine="--engine=gecko"
|
||||
timeout=15
|
||||
;;
|
||||
--submit)
|
||||
submit=1
|
||||
|
@ -43,7 +45,8 @@ MANIFEST="page_load_test/tp5n/20160509.manifest" # A manifest that excludes
|
|||
PERF_FILE="output/perf-$(date +%s).json"
|
||||
|
||||
echo "Running tests"
|
||||
python3 runner.py ${engine} --runs 3 "${MANIFEST}" "${PERF_FILE}"
|
||||
python3 runner.py ${engine} --runs 3 --timeout "${timeout}"\
|
||||
"${MANIFEST}" "${PERF_FILE}"
|
||||
|
||||
if [[ "${submit:-}" ]];
|
||||
then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue