diff options
author | Rich Trott <rtrott@gmail.com> | 2017-11-02 22:12:06 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2017-11-17 20:56:34 -0800 |
commit | 02590b4cfa2cefc512cdee4244490a09676a58b2 (patch) | |
tree | c600ce35a350ae2174074a2af3ff3b8b10b20eae /tools/test.py | |
parent | ae558af7bc1db217eb1c368c8b5e5773910232c3 (diff) | |
download | android-node-v8-02590b4cfa2cefc512cdee4244490a09676a58b2.tar.gz android-node-v8-02590b4cfa2cefc512cdee4244490a09676a58b2.tar.bz2 android-node-v8-02590b4cfa2cefc512cdee4244490a09676a58b2.zip |
tools: fail tests if malformed status file
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'tools/test.py')
-rwxr-xr-x | tools/test.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/test.py b/tools/test.py index 48d4a1a1ea..4cb0bd631d 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) # --------------- |