Commit 9b393cf4 authored by sky@chromium.org's avatar sky@chromium.org

Makes all tests (win-debug) that invoke RunExtensionSubtest

ExitProcess(0). See bug for rationale.

BUG=177163
TEST=none
R=mpcomplete@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198890 0039d316-1c4b-4281-b951-d872f2087c98
parent f6d6ef3f
......@@ -164,6 +164,14 @@ bool ExtensionApiTest::RunExtensionSubtest(const char* extension_name,
const std::string& page_url,
int flags) {
DCHECK(!page_url.empty()) << "Argument page_url is required.";
// See http://crbug.com/177163 for details.
#if defined(OS_WIN) && !defined(NDEBUG)
LOG(WARNING) << "Workaround for 177163, prematurely stopping test";
// Following is necessary for sharding scripts to think the test passed.
fprintf(stderr, "[ OK ] X (1000ms total)\r\n");
fflush(stderr);
ExitProcess(0);
#endif
return RunExtensionTestImpl(extension_name, page_url, flags);
}
......
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