Index: base/test/test_suite.cc |
diff --git a/base/test/test_suite.cc b/base/test/test_suite.cc |
index 0cca8fa25ba9093f87e6af7ebfdb66cc583acdcd..ac1663aa4e42de2f3afe2fe2ab1f958718e193e5 100644 |
--- a/base/test/test_suite.cc |
+++ b/base/test/test_suite.cc |
@@ -27,6 +27,8 @@ |
#include "base/mac/scoped_nsautorelease_pool.h" |
#if !defined(OS_IOS) |
stuartmorgan
2012/07/12 09:36:31
Reverse the order so it's note an if/else of a neg
leng
2012/07/12 10:44:42
Done.
|
#include "base/test/mock_chrome_application_mac.h" |
+#else // OS_IOS |
+#include "base/test/test_listener_ios.h" |
#endif // !OS_IOS |
#endif // OS_MACOSX |
@@ -234,6 +236,9 @@ int TestSuite::Run() { |
// Check to see if we are being run as a client process. |
if (!client_func.empty()) |
return multi_process_function_list::InvokeChildProcessTest(client_func); |
+#if defined(OS_IOS) |
+ base::test_listener_ios::RegisterTestEndListener(); |
+#endif |
int result = RUN_ALL_TESTS(); |
// If there are failed tests, see if we should ignore the failures. |