Make it possible to run gtests on iOS.

Adds MainHook object to run_all_unittests main() and run_all_perftest main(),  so tests run without beng killed by the OS. (If an application does not check in within a certain amount of time after launch, it will be killed.)  The object is empty for non-iOS.

Adds test_listener_ios to test_suite, which registers to be notified on test end. At test end, it runs the run loop to prevent the test run from being killed by the OS.

Disables two tests for iOS:  BooleanOperators and StringPattern.

BUG=b/6753976
TEST=None

Review URL: https://chromiumcodereview.appspot.com/10690161

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146542 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 73b3242f5b0c21820e41c6f7811a6436cd161d41
6 files changed
tree: ea870c9c703f146af8c056eaa8ea157861e4b7ab
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/