Bug 1454535 [wpt PR 10499] - [wptrunner] Install Ahem in Sauce Labs Windows VM, a=testonly
authorjugglinmike <mike@mikepennisi.com>
Fri, 27 Apr 2018 20:38:56 +0000
changeset 416181 83b6ccd8b4debf71a28ca57e6f21c43cf177ba90
parent 416180 3e57674c17aa83058551c96de6cb83f9ccd405d2
child 416182 90698c3884f2c03bb800e57969affee40cee3866
push id102733
push userwptsync@mozilla.com
push dateSat, 28 Apr 2018 19:32:32 +0000
treeherdermozilla-inbound@6b980ffeab0c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1454535, 10499
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1454535 [wpt PR 10499] - [wptrunner] Install Ahem in Sauce Labs Windows VM, a=testonly Automatic update from web-platform-tests[wptrunner] Install Ahem in Sauce Labs Windows VM (#10499) -- wpt-commits: f76bdbfac3b5a115c11b07d81a03830d4618a1aa wpt-pr: 10499
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/fonts/README.md
testing/web-platform/tests/tools/wptrunner/wptrunner/browsers/sauce_setup/edge-prerun.bat
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -556805,17 +556805,17 @@
    "d09831467a1b1a17f97271ff027d413e28b4bacb",
    "support"
   ],
   "fonts/OWNERS": [
    "5f4cbe2046888a3bef5097a04d4ce41b6ba1db05",
    "support"
   ],
   "fonts/README.md": [
-   "eb192c5fe03811a1b69578c92bf77d8abab89f29",
+   "7267d3c356ff8e59a1dc71cf3c11f3eeafa318bf",
    "support"
   ],
   "fonts/Revalia.woff": [
    "f2b20022818e53e9c9c5f22bcc52703c6858eb1c",
    "support"
   ],
   "fonts/adobe-fonts/CSSFWOrientationTest.otf": [
    "c36af3e6a778f52bd8ce898b182ce4651f1042a2",
--- a/testing/web-platform/tests/fonts/README.md
+++ b/testing/web-platform/tests/fonts/README.md
@@ -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.
--- a/testing/web-platform/tests/tools/wptrunner/wptrunner/browsers/sauce_setup/edge-prerun.bat
+++ b/testing/web-platform/tests/tools/wptrunner/wptrunner/browsers/sauce_setup/edge-prerun.bat
@@ -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