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

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: 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..126e8b2de58a6155f5099b8456da1891d1225dce 100644
--- a/test/win/win_multiprocess.cc
+++ b/test/win/win_multiprocess.cc
@@ -100,6 +100,9 @@ void WinMultiprocess::Run() {
// Invoke the child side of the test.
WinMultiprocessChild();
+
+ if (testing::Test::HasFailure())
+ exit(255);
exit(0);
erikwright (departed) 2015/06/01 18:54:08 Should 0 be EXIT_SUCCESS, for consistency with exi
scottmg 2015/06/01 19:17:04 Done.
} else {
// If we're in the parent, make pipes for child-to-parent and
« 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