Commit 0ee87049 authored by Christian Stenger's avatar Christian Stenger

Squish: Throw fatal on empty task

Change-Id: I815810ffbe295cabf37e8a14000243481b799800
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent e9ab82c5
......@@ -132,6 +132,8 @@ def createTasksFile(buildIssues):
tData = "warning"
else:
tData = "unknown"
if fData.strip() == "" and lData == "-1" and dData.strip() == "":
test.fatal("Found empty task.")
file.write("%s\t%s\t%s\t%s\n" % (fData, lData, tData, dData))
file.close()
test.log("Written tasks file %s" % outfile)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment