From 4832c37c33d29ba6b6510a29fb6e19aad5d306a6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 23 Oct 2015 22:28:35 +0300 Subject: testxml: add check for broken description. --- testxml/testxml.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'testxml/testxml.py') 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) -- cgit v1.2.3-70-g09d2