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

Unified Diff: build/android/run_tests.py

Issue 11421187: Raise an exception if a unittest target is missing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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: build/android/run_tests.py
diff --git a/build/android/run_tests.py b/build/android/run_tests.py
index 15186026629e4e22ca5d3bcd6defc79e2f061751..a77b75f68fc8378e9de9082ab0e53f7f8ecdef56 100755
--- a/build/android/run_tests.py
+++ b/build/android/run_tests.py
@@ -117,7 +117,7 @@ def FullyQualifiedTestSuites(exe, option_test_suite, build_type):
'Supported test suites:\n %s\n'
'Ensure it has been built.\n',
t, q, _TEST_SUITES)
- return []
+ sys.exit(1)
Isaac (away) 2012/11/30 22:53:52 lets raise an exception instead of calling sys.exi
frankf 2012/11/30 23:02:00 Done. On 2012/11/30 22:53:52, Isaac wrote:
return qualified_test_suites
« 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