summaryrefslogtreecommitdiff
path: root/testxml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-19 01:28:49 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-19 01:30:55 +0300
commit0a0716853731b854712e6b2a8770a0bc452d34bd (patch)
treecabb54ccf262d91b29f18a6755ea3ec9acc869fa /testxml
parent6b4cea5ece85335d979e9a7c54dfc25ee8e7ec82 (diff)
downloadevol-tools-0a0716853731b854712e6b2a8770a0bc452d34bd.tar.gz
evol-tools-0a0716853731b854712e6b2a8770a0bc452d34bd.tar.bz2
evol-tools-0a0716853731b854712e6b2a8770a0bc452d34bd.tar.xz
evol-tools-0a0716853731b854712e6b2a8770a0bc452d34bd.zip
testxml: in report for oversized tileset report map name.
Diffstat (limited to 'testxml')
-rwxr-xr-xtestxml/testxml.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/testxml/testxml.py b/testxml/testxml.py
index 8c201df..80005be 100755
--- a/testxml/testxml.py
+++ b/testxml/testxml.py
@@ -1570,7 +1570,7 @@ def testMap(file, path):
def testOverSizedTiles(layer, tiles, file):
- global warnings
+ global warnings, errors
if layer.name == "Fringe":
return
@@ -1597,8 +1597,9 @@ def testOverSizedTiles(layer, tiles, file):
warnings = warnings + 1
if len(errList) == 0:
return
- print "Oversized tile overlapped to next tile in layer " + layer.name + \
+ print "error: " + file + ": Oversized tile overlapped to next tile in layer " + layer.name + \
". Possible incorrect map drawing"
+ errors = errors + 1
errStr = ""
k = 0
for err in errList: