diff --git a/tools/test.py b/tools/test.py index 48d4a1a1eaa2ae..4cb0bd631dcc23 100755 --- a/tools/test.py +++ b/tools/test.py @@ -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) # ---------------