summaryrefslogtreecommitdiff
path: root/testxml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-22 22:58:51 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-22 22:58:51 +0300
commit4e95445319135161cedda259f6d216e9f8398ae5 (patch)
treea3717fe1f1c7cfde27000dea07fada7c4440397b /testxml
parentb3f2fb68a1b093ac3e7618943c87911b7b17e019 (diff)
downloadevol-tools-4e95445319135161cedda259f6d216e9f8398ae5.tar.gz
evol-tools-4e95445319135161cedda259f6d216e9f8398ae5.tar.bz2
evol-tools-4e95445319135161cedda259f6d216e9f8398ae5.tar.xz
evol-tools-4e95445319135161cedda259f6d216e9f8398ae5.zip
testxml: add flag for hercules data ci scripts.
Diffstat (limited to 'testxml')
-rwxr-xr-xtestxml/testxml.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/testxml/testxml.py b/testxml/testxml.py
index c701492..a8eb04b 100755
--- a/testxml/testxml.py
+++ b/testxml/testxml.py
@@ -48,6 +48,7 @@ borderSize = 20
colorsList = set()
showAll = False
silent = False
+herc = False
testBadCollisions = False
# number of tiles difference. after this amount tiles can be counted as incorrect
@@ -1564,7 +1565,7 @@ def testMap(file, path):
if len(lowLayers) < 1:
showMsgFile(file, "missing low layers", False)
if len(overLayers) < 1:
- if silent == False or file.find("maps/test") != 0:
+ if (silent == False or file.find("maps/test") != 0) and herc == False:
showMsgFile(file, "missing over layers", False)
if fringe != None:
@@ -2204,6 +2205,9 @@ if len(sys.argv) == 2:
showAll = True
elif sys.argv[1] == "silent":
silent = True
+ elif sys.argv[1] == "herc":
+ silent = True
+ herc = True
showHeader()
print "Detecting clientdata dir"