Bug 1450839 - Skip deqp test files for now. - r=kvark draft
authorJeff Gilbert <jgilbert@mozilla.com>
Mon, 02 Apr 2018 18:33:48 -0700
changeset 776422 acd69e87d2d59a2767d60dfd62e96cc19b20fa4c
parent 776421 43c87f51a73f5016deb672e0076e305c122ab493
child 776423 2cc72e4b3da89202b20fa71e40d8b03a1b6a4f2a
push id104873
push userbmo:jgilbert@mozilla.com
push dateTue, 03 Apr 2018 01:43:12 +0000
reviewerskvark
bugs1450839
milestone61.0a1
Bug 1450839 - Skip deqp test files for now. - r=kvark MozReview-Commit-ID: 5X1JRA1gd58
dom/canvas/test/webgl-conf/generate-wrappers-and-manifest.py
--- a/dom/canvas/test/webgl-conf/generate-wrappers-and-manifest.py
+++ b/dom/canvas/test/webgl-conf/generate-wrappers-and-manifest.py
@@ -375,20 +375,29 @@ def WriteManifest(wrapperPathStrList, su
     wrapperPathStrList = sorted(wrapperPathStrList)
     for wrapperPathStr in wrapperPathStrList:
         #print('wrapperPathStr: ' + wrapperPathStr)
 
         wrapperManifestPathStr = ManifestPathStr(wrapperPathStr)
         sectionName = '[' + wrapperManifestPathStr + ']'
         manifestTestLineList.append(sectionName)
 
+        def always_skip():
+            if '/test_deqp__' in wrapperPathStr:
+                return True
+            if '/test_2_deqp__' in wrapperPathStr:
+                return True
+            return False
+
         errataLines = []
         if wrapperPathStr in errataMap:
             errataLines = errataMap[wrapperPathStr]
             del errataMap[wrapperPathStr]
+        elif always_skip():
+            errataLines.append('skip-if = 1')
 
         if IsWrapperWebGL2(wrapperPathStr):
             needsSkip = True
             for i in range(len(errataLines)):
                 if errataLines[i].startswith('skip-if'):
                     errataLines[i] += ' || ' + WEBGL2_SKIP_IF_CONDITION
                     needsSkip = False
                 continue