A powershell script for getting a machine ready to run Web Platform Tests from the W3C.
This script assumes you do not have any tooling installed. It will install everything for you. If you do have some stuff installed already, that's OK - it should just fail gracefully. However, you can also modify the variables near the top of the file to be $false for any component you already have.
Simply download the repo as a zip, extract it to some directory then:
- Launch a PowerShell window as an Admin
- Set the exection policy so you can run the script:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
- Run the WindowsInstallScript from the extraction directory
Since this is just about getting the machine setup, it would do you good to check out the instructions for after you are successful.
In the WPT Test Suite readme.md you can see how to run via "python wpt run"