From fa31d7327919b453f1aaa837bd9ec9141c4ff482 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 7 Jun 2016 20:44:32 +0300 Subject: testxml: fail ci test if map not have atlas. --- testxml/testxml.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'testxml/testxml.py') 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 -- cgit v1.2.3-70-g09d2