Implement listing tests to a JSON file for iOS gtest test launcher
commit70fcead7c8f4ba41ac22f36879e56f60b2dd9816
authorPaweł Hajdan, Jr <phajdan.jr@chromium.org>
Mon, 24 Nov 2014 15:58:51 +0000 (24 16:58 +0100)
committerPaweł Hajdan, Jr <phajdan.jr@chromium.org>
Mon, 24 Nov 2014 16:00:18 +0000 (24 16:00 +0000)
treedba8c0583767e50d466954f6b264eb50a766eaed
parente230f8ffe7585f613fd8ce3845b9ec75711c58a7
Implement listing tests to a JSON file for iOS gtest test launcher

This is needed because the launcher is compiled with host toolchain
and access to full Mac OS X system that we need for the launcher,
whereas the gtest test code is compiled for sandboxed execution on iOS.

The launcher needs to know which tests to run, so it needs to query
test binary for that.

BUG=426870
R=sky@chromium.org

Review URL: https://codereview.chromium.org/747003002

Cr-Commit-Position: refs/heads/master@{#305426}
12 files changed:
base/base.gyp
base/test/BUILD.gn
base/test/gtest_util.cc [new file with mode: 0644]
base/test/gtest_util.h [new file with mode: 0644]
base/test/launcher/test_launcher.cc
base/test/launcher/test_launcher.h
base/test/launcher/test_launcher_ios.cc
base/test/launcher/unit_test_launcher.cc
base/test/launcher/unit_test_launcher_ios.cc
base/test/test_switches.cc
base/test/test_switches.h
content/public/test/test_launcher.cc