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

Unified Diff: mojo/edk/test/multiprocess_test_helper.h

Issue 728783003: Add infrastructure to run tests on android. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Use file_hash Created 6 years, 1 month 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
Index: mojo/edk/test/multiprocess_test_helper.h
diff --git a/mojo/edk/test/multiprocess_test_helper.h b/mojo/edk/test/multiprocess_test_helper.h
index d131460228aaf69494c9fa3ed23b67cd24a11392..265c1730cfbd0d21e3cd3a4aa68a7fff928c942d 100644
--- a/mojo/edk/test/multiprocess_test_helper.h
+++ b/mojo/edk/test/multiprocess_test_helper.h
@@ -14,6 +14,13 @@
#include "mojo/edk/embedder/scoped_platform_handle.h"
#include "testing/multiprocess_func_list.h"
+// Multi process tests are not supported on android, because the platform
+// doesn't provide an executable to exec and only forking is too hacky and
+// fragile.
+#if defined(OS_ANDROID)
+#error "Multi process tests are not supported."
+#endif
+
namespace mojo {
namespace embedder {

Powered by Google App Engine
This is Rietveld 408576698