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

Unified Diff: test/win/win_multiprocess.cc

Issue 1164683005: win: fix uncaught multiprocess child test failures (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: 0 -> EXIT_SUCCESS Created 5 years, 7 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 | test/win/win_multiprocess_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/win/win_multiprocess.cc
diff --git a/test/win/win_multiprocess.cc b/test/win/win_multiprocess.cc
index 1eece13f1cd825bf59907dd1001368956ec93242..cdcec0af035da06dbe5c9685a48dbff30aa9360e 100644
--- a/test/win/win_multiprocess.cc
+++ b/test/win/win_multiprocess.cc
@@ -100,7 +100,10 @@ void WinMultiprocess::Run() {
// Invoke the child side of the test.
WinMultiprocessChild();
- exit(0);
+
+ if (testing::Test::HasFailure())
+ exit(255);
+ exit(EXIT_SUCCESS);
} else {
// If we're in the parent, make pipes for child-to-parent and
// parent-to-child communication. Mark them as inheritable via the
« no previous file with comments | « no previous file | test/win/win_multiprocess_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698