[build] rework scripts to new build system

This commit is contained in:
tobrun
2019-10-09 14:19:03 +02:00
committed by Tobrun
parent 83acc3ad3e
commit 7acfd3a243
12 changed files with 92 additions and 38 deletions

View File

@@ -3,13 +3,13 @@
import os
import shutil
catPath = os.getcwd() + "/platform/android/build/render-test/"
catPath = os.getcwd() + "/build/render-test/"
failCounter = 0
testCounter = 0
for cat in os.listdir(catPath):
testPath = catPath + cat + "/"
for test in os.listdir(testPath):
inputPath = os.getcwd() + "/mapbox-gl-js/test/integration/render-tests/" + cat + "/" + test
inputPath = os.getcwd() + "vendor/mapbox-gl-native/mapbox-gl-js/test/integration/render-tests/" + cat + "/" + test
outputPath = testPath + test
expected = outputPath + "/expected.png"