Permalink
Browse files

tools: fail tests if malformed status file

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 MylesBorins committed Nov 3, 2017
1 parent d44adf1 commit dcf7646725eb8845d85e6c7bba9d99d93b20e3bf
Showing with 1 addition and 3 deletions.
  1. +1 −3 tools/test.py
View
@@ -1287,9 +1287,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)
# ---------------

0 comments on commit dcf7646

Please sign in to comment.