Bug 1450839 - Skip deqp test files for now. - r=kvark
MozReview-Commit-ID: 5X1JRA1gd58
--- 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,30 @@ 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():
+ # Skip deqp tests for now because they take too long.
+ 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