Skip to content

Commit

Permalink
tools: fail tests if malformed status file
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Nov 3, 2017
1 parent 5c475a7 commit 2fea598
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1349,9 +1349,7 @@ def ReadConfigurationInto(path, sections, defs):
if prefix_match:
prefix = SplitPath(prefix_match.group(1).strip())
continue
print "Malformed line: '%s'." % line
return False
return True
raise Exception("Malformed line: '%s'." % line)


# ---------------
Expand Down

0 comments on commit 2fea598

Please sign in to comment.