Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: tools/testrunner/local/testsuite.py

Issue 605133004: Let test driver fail if test executable can't list the tests. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testrunner/local/testsuite.py
diff --git a/tools/testrunner/local/testsuite.py b/tools/testrunner/local/testsuite.py
index 47bc08f8399767343e02dee5fa285868e8e783a8..148697bfde7506e630baf53105dd06b59e7e5628 100644
--- a/tools/testrunner/local/testsuite.py
+++ b/tools/testrunner/local/testsuite.py
@@ -234,7 +234,7 @@ class GoogleTestSuite(TestSuite):
if output.exit_code != 0:
print output.stdout
print output.stderr
- return []
+ raise Exception("Test executable failed to list the tests.")
Jakob Kummerow 2014/09/26 13:49:10 You should print something to identify the suite (
tests = []
test_case = ''
for line in output.stdout.splitlines():
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698