summaryrefslogtreecommitdiff
path: root/testxml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-07 20:44:32 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-07 20:44:32 +0300
commitfa31d7327919b453f1aaa837bd9ec9141c4ff482 (patch)
treece69070f2ffcb94caa1d7b42dbb5f76ea64b259d /testxml
parent895d821c64506a46451e3750137ff657f743eb10 (diff)
downloadevol-tools-fa31d7327919b453f1aaa837bd9ec9141c4ff482.tar.gz
evol-tools-fa31d7327919b453f1aaa837bd9ec9141c4ff482.tar.bz2
evol-tools-fa31d7327919b453f1aaa837bd9ec9141c4ff482.tar.xz
evol-tools-fa31d7327919b453f1aaa837bd9ec9141c4ff482.zip
testxml: fail ci test if map not have atlas.
Diffstat (limited to 'testxml')
-rwxr-xr-xtestxml/testxml.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/testxml/testxml.py b/testxml/testxml.py
index 5aa6a9e..a2062d6 100755
--- a/testxml/testxml.py
+++ b/testxml/testxml.py
@@ -1511,7 +1511,7 @@ def testMap(mapName, file, path):
tile.source = tile.source[3:]
tilesMap[tile.firstGid] = tile
- if silent == False and mapName not in mapToAtlas:
+ if mapName not in mapToAtlas:
showMsgFile(file, "map dont have atlas", True)
tileset = tileset0
@@ -1681,8 +1681,6 @@ def testTiles(mapName, file, tilesMap):
tile1.source,
atlasName),
True)
-
- # here can be test for atlas
for gid2 in tilesMap:
if firstGid != gid2:
tile2 = tilesMap[gid2]
@@ -1692,8 +1690,6 @@ def testTiles(mapName, file, tilesMap):
+ "\" and \"" + tile2.name + "\"", True)
-
-
def reportAboutTiles(file, data):
if testBadCollisions == False:
return