forked from web-platform-tests/wpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wptrunner] Install Ahem in Sauce Labs Windows VM (web-platform-tests…
- Loading branch information
1 parent
4a0df34
commit f76bdbf
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
This directory only contains auxiliary font files used by other tests. See | ||
/css-fonts for tests covering the CSS Fonts Module specification. | ||
|
||
The font named `Ahem.ttf` is referenced from the project documentation and the | ||
CLI's scripts for provisioning virtual machines provided by Sauce Labs. If that | ||
file is re-located, the references should be updated accordingly. |
7 changes: 7 additions & 0 deletions
7
tools/wptrunner/wptrunner/browsers/sauce_setup/edge-prerun.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
@echo off | ||
reg add "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\New Windows" /v "PopupMgr" /t REG_SZ /d no | ||
|
||
|
||
REM Download and install the Ahem font | ||
REM - https://wiki.saucelabs.com/display/DOCS/Downloading+Files+to+a+Sauce+Labs+Virtual+Machine+Prior+to+Testing | ||
REM - https://superuser.com/questions/201896/how-do-i-install-a-font-from-the-windows-command-prompt | ||
bitsadmin.exe /transfer "JobName" https://github.com/w3c/web-platform-tests/raw/master/fonts/Ahem.ttf "%WINDIR%\Fonts\Ahem.ttf" | ||
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" /v "Ahem (TrueType)" /t REG_SZ /d Ahem.ttf /f |