mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Fix test-wpt and test-css for Windows.
In addition to minor changes for Windows, this forces Windows Python to be used for all Windows builds (instead of using Windows Python only for pc-windows-msvc builds).
This commit is contained in:
parent
524ed82700
commit
8e8519d038
7 changed files with 104 additions and 19 deletions
|
@ -49,7 +49,10 @@ def set_defaults(paths, kwargs):
|
|||
|
||||
if kwargs["binary"] is None:
|
||||
bin_dir = "release" if kwargs["release"] else "debug"
|
||||
bin_path = servo_path("target", bin_dir, "servo")
|
||||
bin_name = "servo"
|
||||
if sys.platform == "win32":
|
||||
bin_name += ".exe"
|
||||
bin_path = servo_path("target", bin_dir, bin_name)
|
||||
|
||||
kwargs["binary"] = bin_path
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue