Skip to content

Commit

Permalink
tools: fail tests if malformed status file
Browse files Browse the repository at this point in the history
PR-URL: #16703
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
Trott authored and gibfahn committed Dec 19, 2017
1 parent 6d5620d commit e4788cd
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 e4788cd

Please sign in to comment.