mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Revert "Remove -w flag now that WebRender is always used"
This reverts commit b94b58f7ae
.
The wptrunner changes are not quite right and causes Python exceptions
inside the test haness.
This commit is contained in:
parent
231481570e
commit
7595a90221
20 changed files with 105 additions and 69 deletions
|
@ -85,6 +85,9 @@ def main():
|
|||
parser.add_argument("-b", "--benchmark",
|
||||
default=benchmark,
|
||||
help="Gets the benchmark, for example \"-b http://www.example.com\"")
|
||||
parser.add_argument("-w", "--webrender",
|
||||
action='store_true',
|
||||
help="Use webrender backend")
|
||||
parser.add_argument("-l", "--layout_threads",
|
||||
help="Specify the number of threads for layout, for example \"-l 5\"")
|
||||
parser.add_argument("-o", "--output",
|
||||
|
@ -96,6 +99,8 @@ def main():
|
|||
args = parser.parse_args()
|
||||
if args.benchmark:
|
||||
benchmark = args.benchmark
|
||||
if args.webrender:
|
||||
renderer = "-w"
|
||||
if args.layout_threads:
|
||||
layout_threads = int(args.layout_threads)
|
||||
if args.output:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue