Bug 1376191: Use system tooltool cache dir for mac. r=whimboo draft
authorWander Lairson Costa <wcosta@mozilla.com>
Wed, 12 Jul 2017 11:09:38 -0300
changeset 607600 53311f2174150bc9685e5b00786dca398940d223
parent 607503 09a4282d1172ac255038e7ccacfd772140b219e2
child 637076 dd4a6713e4ac44e7f307eac80fbb4478a648bb68
push id68034
push userwcosta@mozilla.com
push dateWed, 12 Jul 2017 14:10:00 +0000
reviewerswhimboo
bugs1376191
milestone56.0a1
Bug 1376191: Use system tooltool cache dir for mac. r=whimboo Mac tests run on real hardware, where tooltool cache is /builds. MozReview-Commit-ID: JVJCj4YqVQQ
taskcluster/ci/test/tests.yml
testing/mozharness/configs/firefox_ui_tests/taskcluster_macosx.py
--- a/taskcluster/ci/test/tests.yml
+++ b/taskcluster/ci/test/tests.yml
@@ -123,17 +123,17 @@ firefox-ui-functional-local:
     docker-image: {"in-tree": "desktop1604-test"}
     mozharness:
         script: firefox_ui_tests/functional.py
         config:
             by-test-platform:
                 windows.*:
                     - firefox_ui_tests/taskcluster_windows.py
                 macosx.*:
-                    - firefox_ui_tests/taskcluster.py
+                    - firefox_ui_tests/taskcluster_macosx.py
                 linux.*:
                     - firefox_ui_tests/taskcluster.py
                     - remove_executables.py
         extra-options:
             - "--tag"
             - "local"
 
 firefox-ui-functional-remote:
@@ -145,17 +145,17 @@ firefox-ui-functional-remote:
     docker-image: {"in-tree": "desktop1604-test"}
     mozharness:
         script: firefox_ui_tests/functional.py
         config:
             by-test-platform:
                 windows.*:
                     - firefox_ui_tests/taskcluster_windows.py
                 macosx.*:
-                    - firefox_ui_tests/taskcluster.py
+                    - firefox_ui_tests/taskcluster_macosx.py
                 linux.*:
                     - firefox_ui_tests/taskcluster.py
                     - remove_executables.py
         extra-options:
             - "--tag"
             - "remote"
 
 geckoview:
new file mode 100644
--- /dev/null
+++ b/testing/mozharness/configs/firefox_ui_tests/taskcluster_macosx.py
@@ -0,0 +1,20 @@
+# Config file for firefox ui tests run via TaskCluster.
+
+
+config = {
+    "vcs_share_base": "/builds/hg-shared",
+
+    "exes": {
+        'python': '/tools/buildbot/bin/python',
+        'virtualenv': ['/tools/buildbot/bin/python', '/tools/misc-python/virtualenv.py'],
+        'tooltool.py': "/tools/tooltool.py",
+    },
+
+    "find_links": [
+        "http://pypi.pub.build.mozilla.org/pub",
+    ],
+    "pip_index": False,
+
+    "download_minidump_stackwalk": True,
+    "tooltool_cache": "/builds/tooltool_cache",
+}