summaryrefslogtreecommitdiffstats
path: root/testing/iossim
Commit message (Collapse)AuthorAgeFilesLines
* Ignore objc-property-no-attribute warning for classdump generated file.justincohen@chromium.org2013-12-091-0/+5
| | | | | | | | | | | | Ignores a warning caused by iPhoneSimulatorRemoteClient.h classdump generated file. BUG=None TEST=None Review URL: https://codereview.chromium.org/61743015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239513 0039d316-1c4b-4281-b951-d872f2087c98
* Add support in iossim for recognizing sandboxed system logs.lliabraa@chromium.org2013-09-121-24/+69
| | | | | | | | BUG=None Review URL: https://chromiumcodereview.appspot.com/23460032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222918 0039d316-1c4b-4281-b951-d872f2087c98
* Fix unintentional revert of SYMROOT change to testing/iossim.justincohen@google.com2013-07-231-1/+1
| | | | | | | | | | | | | | A change made to iossim.gyp in https://chromiumcodereview.appspot.com/14835006 was unintentionally reverted by https://chromiumcodereview.appspot.com/14597007. Restoring CL 14835006 updates the iossim output path to use $(SYMROOT). BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/19985004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213010 0039d316-1c4b-4281-b951-d872f2087c98
* Support target/host architecture with ninja iOS buildsjustincohen@google.com2013-05-131-71/+71
| | | | | | | | | | | | | When iOS builds support ninja and enable GYP_CROSSCOMPILE=1, ninja will build breakpad, protoc and iossim using host arch instead of the sub-out-ninja workaround. TBR=mark@chromium.org BUG=236517 Review URL: https://chromiumcodereview.appspot.com/14597007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199827 0039d316-1c4b-4281-b951-d872f2087c98
* Updated iossim output path to use $(SYMROOT).sanjeevr@chromium.org2013-05-031-1/+1
| | | | | | | | | | Previously it was hardcoded to use the xcodebuild folder. BUG=NONE Review URL: https://chromiumcodereview.appspot.com/14835006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198112 0039d316-1c4b-4281-b951-d872f2087c98
* Don't copy iossim after compilation.lliabraa@chromium.org2013-04-191-34/+1
| | | | | | | | | | | The scripts that were relying on the post-copy location are being updated to use the pre-copy location. BUG=228157 Review URL: https://chromiumcodereview.appspot.com/14295006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195228 0039d316-1c4b-4281-b951-d872f2087c98
* Fix iossim's support for retina devices.lliabraa@chromium.org2013-04-181-6/+5
| | | | | | | | | | | | | | Mac 10.8 started caching prefs so even though iossim writes the SimulatorDevice value to the .plist on disk, the iPhone Simulator may not see that change and therefore not respect the -d (device) parameter passed to iossim. Using the CFPreferences API to set and sync the pref fixes the issue. BUG=224892 Review URL: https://chromiumcodereview.appspot.com/14308003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194939 0039d316-1c4b-4281-b951-d872f2087c98
* Add lliabraa to src/testing/iossim/OWNERSlliabraa@chromium.org2013-01-021-0/+1
| | | | | | | | | BUG=None Review URL: https://chromiumcodereview.appspot.com/11665031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174803 0039d316-1c4b-4281-b951-d872f2087c98
* In iossim, ignore harmless messages from launchd.lliabraa@chromium.org2013-01-021-8/+12
| | | | | | | | | | | iossim checks the system log for messages from launchd about the simulated app and returns failure if anything is found. Some messages are harmless, so this CL updates iossim to log them but not return failure. BUG=None Review URL: https://chromiumcodereview.appspot.com/11699005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174802 0039d316-1c4b-4281-b951-d872f2087c98
* Add error codes to iossim.lliabraa@chromium.org2012-12-281-19/+27
| | | | | | | | | | | | This CL gives iossim more granular exit codes so the bots can be smarter about when to ignore failures or retry tests. BUG=None TBR=rohitrao@chromium.org Review URL: https://chromiumcodereview.appspot.com/11578072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174733 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug in iossim's CaseInsensitivePrefixSearch.lliabraa@chromium.org2012-12-071-1/+1
| | | | | | | | | BUG=None Review URL: https://chromiumcodereview.appspot.com/11471030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171788 0039d316-1c4b-4281-b951-d872f2087c98
* Specify dependences correctly when building mac tools for iOS.blundell@chromium.org2012-10-291-81/+108
| | | | | | | | | | | | | | | | | | | Several auxiliary tools used when building Chrome for iOS are generated via the following two-step pattern: (1) compiling the executable with ninja, and (2) copying the executable into a location that is shared with other projects. Previously, these two steps were specified as actions in the same target. However, as the ordering of multiple actions in one target is defined only by inputs and outputs and the compilation action had no inputs/outputs set, the copying action wasn't properly depending on the compilation action. As it's challenging to set correct inputs for the ninja build, this CL separates these actions into two targets in order to be able to specify that the second action should not run until the first action finishes. Review URL: https://chromiumcodereview.appspot.com/11301003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164743 0039d316-1c4b-4281-b951-d872f2087c98
* Add support in iossim for simulating retina deviceslliabraa@chromium.org2012-10-051-9/+29
| | | | | | | | | | | This CL sets device name in <simulator_home>/Library/Preferences/com.apple.iphonesimulator.plist, which allows the caller to specify any string in the iOS Simulator's Hardware -> Device menu (e.g. iPhone (Retina 3.5-inch)), instead of just iPhone or iPad. BUG=None Review URL: https://chromiumcodereview.appspot.com/10978027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160427 0039d316-1c4b-4281-b951-d872f2087c98
* Fix compile error in iossim.lliabraa@chromium.org2012-08-201-1/+1
| | | | | | | | | | | | | | A recent clang roll started causing the following warning: ../../../testing/iossim/iossim.mm:215:62: error: expression which evaluates to zero treated as a null pointer constant of type 'BOOL *' (aka 'signed char *') [-Werror,-Wnon-literal-null-conversion]. Just dropping the isDirectory parameter fixes the issue. BUG=None Review URL: https://chromiumcodereview.appspot.com/10832399 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152425 0039d316-1c4b-4281-b951-d872f2087c98
* Update iossim.gyp to use src/build/ios/mac_build.gypi.lliabraa@chromium.org2012-08-201-34/+77
| | | | | | | | | | | The mac_build.gypi will build the iossim executable using ninja. BUG=None Review URL: https://chromiumcodereview.appspot.com/10827200 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152335 0039d316-1c4b-4281-b951-d872f2087c98
* Expose the startup timeout as something that can be controlled via commandline.thomasvl@chromium.org2012-08-101-5/+20
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10826246 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151058 0039d316-1c4b-4281-b951-d872f2087c98
* There are two places that log failure to start, tweak the message to tellthomasvl@chromium.org2012-08-061-1/+1
| | | | | | | | which one it was in logs. Review URL: https://chromiumcodereview.appspot.com/10825199 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150107 0039d316-1c4b-4281-b951-d872f2087c98
* Improve error handling in iossim.thomasvl@chromium.org2012-08-011-10/+64
| | | | | | | | | | | | | | | - When reporting errors from the simulator framework always include the error domain and error code since some of the strings come back from the simulator and those are localized. - There appears to be a race condition where sometimes the simulator framework will end with an error, but the error is that the simulated app cleanly shut down; try to trap this error and don't fail the simulator run. BUG=None Review URL: https://chromiumcodereview.appspot.com/10831111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149427 0039d316-1c4b-4281-b951-d872f2087c98
* - Don't directly link to the private Xcode framework, instead find it at runtimethomasvl@chromium.org2012-07-302-21/+101
| | | | | | | | | | | and lookup the classes by name. This allows the binary to work with multiple versions of Xcode and doesn't tile the binary to an Xcode install location. - Fix problem where the tool could log the wrong thing since basename() returns an internal buffer. Review URL: https://chromiumcodereview.appspot.com/10828070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149067 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for setting environment variables that are used when the simulatedthomasvl@chromium.org2012-07-301-7/+22
| | | | | | | | app is launched. Review URL: https://chromiumcodereview.appspot.com/10831050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148955 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up the name of the redirect script to it matches what is on disk.thomasvl@chromium.org2012-07-271-1/+1
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10829059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148783 0039d316-1c4b-4281-b951-d872f2087c98
* Add iossim testing tool for running iOS unit tests.lliabraa@chromium.org2012-07-274-0/+604
iossim is a command line tool used to run an iOS app in the iOS Simulator. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10805004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148753 0039d316-1c4b-4281-b951-d872f2087c98