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

Unified Diff: base/test/launcher/test_launcher.cc

Issue 1013463003: Update from https://crrev.com/320931 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « base/test/BUILD.gn ('k') | base/test/test_discardable_memory_shmem_allocator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/launcher/test_launcher.cc
diff --git a/base/test/launcher/test_launcher.cc b/base/test/launcher/test_launcher.cc
index 667d1eb488d1acc76ff6167480ddee92608724e7..1d480608eb147298bfe43870a6e322e3095a5c6f 100644
--- a/base/test/launcher/test_launcher.cc
+++ b/base/test/launcher/test_launcher.cc
@@ -383,6 +383,9 @@ void DoLaunchChildTestProcess(
}
#elif defined(OS_POSIX)
options.new_process_group = true;
+#if defined(OS_LINUX)
+ options.kill_on_parent_death = true;
+#endif // defined(OS_LINUX)
FileHandleMappingVector fds_mapping;
ScopedFD output_file_fd;
« no previous file with comments | « base/test/BUILD.gn ('k') | base/test/test_discardable_memory_shmem_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698