summaryrefslogtreecommitdiff
path: root/testxml/testxml.py
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-23 22:28:35 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-23 22:28:35 +0300
commit4832c37c33d29ba6b6510a29fb6e19aad5d306a6 (patch)
treee3c9e1f677a4685b3d62def7f13824f2d34bbd32 /testxml/testxml.py
parentde5cee89bb006c6eadfea78e62d06d3f3b20862f (diff)
downloadtools-4832c37c33d29ba6b6510a29fb6e19aad5d306a6.tar.gz
tools-4832c37c33d29ba6b6510a29fb6e19aad5d306a6.tar.bz2
tools-4832c37c33d29ba6b6510a29fb6e19aad5d306a6.tar.xz
tools-4832c37c33d29ba6b6510a29fb6e19aad5d306a6.zip
testxml: add check for broken description.
Diffstat (limited to 'testxml/testxml.py')
-rwxr-xr-xtestxml/testxml.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/testxml/testxml.py b/testxml/testxml.py
index bed95c1..70b2865 100755
--- a/testxml/testxml.py
+++ b/testxml/testxml.py
@@ -1120,6 +1120,10 @@ def testItems(fileName, imgDir):
if description == "":
print "warn: " + fileName + ": missing description attribute on id=" + id
warnings = warnings + 1
+ elif description == ".":
+ print "warn: " + fileName + ": broken description attribute on id=" + id
+ warnings = warnings + 1
+
if missile != "":
testParticle(id, missile, fileName)