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

Unified Diff: mojo/edk/test/run_all_unittests.cc

Issue 2613183002: Revert of Multiprocess test client: Android child process launcher rework. (Closed)
Patch Set: Created 3 years, 11 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 | « mojo/edk/test/run_all_perftests.cc ('k') | net/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/test/run_all_unittests.cc
diff --git a/mojo/edk/test/run_all_unittests.cc b/mojo/edk/test/run_all_unittests.cc
index 0b0663b26f5f8825da5dc5959a79b55a31058e4f..cd6b241d605b05c6b8982303a3fa8e8a51ddaff3 100644
--- a/mojo/edk/test/run_all_unittests.cc
+++ b/mojo/edk/test/run_all_unittests.cc
@@ -26,6 +26,10 @@
testing::GTEST_FLAG(death_test_style) = "threadsafe";
#endif
#if defined(OS_ANDROID)
+ // Enable the alternate test child implementation. This is needed because Mojo
+ // tests need to spawn test children after initialising the Mojo system.
+ base::InitAndroidMultiProcessTestHelper(main);
+
// On android, the test framework has a signal handler that will print a
// [ CRASH ] line when the application crashes. This breaks death test has the
// test runner will consider the death of the child process a test failure.
« no previous file with comments | « mojo/edk/test/run_all_perftests.cc ('k') | net/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698