diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2012-08-06 14:00:20 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2012-08-06 14:00:20 +0000 |
commit | a5f7148ae266a5c4b8125f088797b2b9102931ec (patch) | |
tree | 55b6a879d9d9e3d584d033b16d108f8014399040 /UnitTesting/iossim | |
parent | f11640235bd13697c96b50ca18d9d239b2cfbd11 (diff) |
[Author: thomasvl]
Overhaul how iOS unittests are run.
Newer versions of Xcode have changes in the Simulator and supporting
frameworks so the way GTM had been running unittests no longer works.
The Simulator frameworks bail on launch with a zero exit code, so unless
you look at the raw output, you don't even notice the tests no longer
run.
This new way comes from the work done in Chromium to actually launch the
unittests fully under the simulator to get them a much more realistic
environment. It also takes what was learned there about getting the output
of the binary and how to deal with all the different ways a test and the
simulator can fail to start along with all the different ways the failures/
crashing of the app can come back.
There are some new env variables that let you force a version of the
simulator (assuming it is installed) along with one to say if you want to
run under iPhone or iPad.
- Land a copy of the Chromium iossim util.
- Convert RunIPhoneUnitTest over to use iossim.
R=dmaclach
DELTA=201 (79 added, 77 deleted, 45 changed)
Diffstat (limited to 'UnitTesting/iossim')
-rwxr-xr-x | UnitTesting/iossim | bin | 0 -> 26952 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/UnitTesting/iossim b/UnitTesting/iossim Binary files differnew file mode 100755 index 0000000..b3d8dbc --- /dev/null +++ b/UnitTesting/iossim |