Commit 3d6ebcab authored by frankf@google.com's avatar frankf@google.com

Raise an exception if a unittest target is missing.

BUG=163653

Review URL: https://codereview.chromium.org/11421187

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170592 0039d316-1c4b-4281-b951-d872f2087c98
parent 15955ba7
......@@ -113,11 +113,10 @@ def FullyQualifiedTestSuites(exe, option_test_suite, build_type):
for t in all_test_suites]
for t, q in zip(all_test_suites, qualified_test_suites):
if not os.path.exists(q):
logging.critical('Test suite %s not found in %s.\n'
'Supported test suites:\n %s\n'
'Ensure it has been built.\n',
t, q, _TEST_SUITES)
return []
raise Exception('Test suite %s not found in %s.\n'
'Supported test suites:\n %s\n'
'Ensure it has been built.\n' %
(t, q, _TEST_SUITES))
return qualified_test_suites
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment