aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting/RunMacOSUnitTests.sh
Commit message (Collapse)AuthorAge
* Start updating the unittesting supportGravatar Thomas Van Lenten2016-04-29
| | | | | | | - Remove GTM_ENABLE_LEAKS (pretty stale at this point). - Remove imageFromResource from GTMSenTestCase (asset catalogs, etc. have changed patterns). - Remove XCTest macros that are now supplied by XCTest directly. Checked back to Xcode 6.4 and they are built into XCTest. - Start removing SenTest support.
* Minor update for Xcode 6 unittesting wrapperGravatar Thomas Van Lenten2015-09-08
|
* [Author: aharper]Gravatar gtm.daemon2011-09-08
| | | | | | | Fix comparison for parallel tests and add logging so its clear which mode was selected. R=thomasvl APPROVED=thomasvl
* [Author: thomasvl]Gravatar gtm.daemon2011-01-03
| | | | | | | Turn off echoing of commands to avoid some of the chatter in Xcode (since it shows everything now) Move where the memory tracing environment variables are set to avoid tracing the commands run before the test (as much as possible). R=dmaclach DELTA=109 (62 added, 45 deleted, 2 changed)
* [Author: dmaclach]Gravatar gtm.daemon2010-02-01
| | | | | | | Turn off leak testing on platforms that don't support it well. Added new system leak to the exclusion list. R=thomasvl DELTA=4 (3 added, 0 deleted, 1 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-11-20
| | | | | | | | | | | | Make the target for all tests directly depend on the tests instead of shelling out to xcode build (make things nicer in 3.2.x tool chain). Add an action to the GTM Framework to nuke any *.gcda files to help make coverage tracking easier. Mac OS test runner script: Not be verbose (for the 3.2.x tool chain). Add a var to cause it only to remove target *.gcda files. Add a var to force tests to only run one at a time (via some pyton that emulates linux's flock). Make the UnitTesting and AppKit tests use the flock support so they don't fight over the colorsync profile. R=dmaclach DELTA=141 (102 added, 28 deleted, 11 changed)
* [Author: thomasvl]Gravatar gtm.daemon2009-05-19
| | | | | | | http://code.google.com/p/google-toolbox-for-mac/issues/detail?id=23 Handle spaces in directory names. R=dmaclach DELTA=2 (0 added, 0 deleted, 2 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-05-12
| | | | | | Tightened up shell script error checking. R=thomasvl DELTA=27 (9 added, 10 deleted, 8 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-05-12
| | | | | | | Add verbosity, exit on err and error on unset variable to all script phases. Should help track down build problems, and it found a couple of shell script errors. R=mrossetti,hawk DELTA=75 (16 added, 0 deleted, 59 changed)
* [Author: dmaclach]Gravatar gtm.daemon2009-03-31
| | | | | Realized what the problem was, and this isn't it ;-) Reverted to old version. TBR=thomasvl
* [Author: dmaclach]Gravatar gtm.daemon2009-03-31
| | | | Tries to fix Mac builds for GTM and QSB. TBR=thomasvl
* [Author: dmaclach]Gravatar gtm.daemon2009-03-27
| | | | | | | | Change build script so that it removes all of the gcda files for the current config project wide, which in general is what people will want. Added unit testing to GTMHotKeyTextField. From about 6% up to 90%. DELTA=10 (3 added, 0 deleted, 7 changed) R=thomasvl
* [Author: dmaclach]Gravatar gtm.daemon2009-03-25
| | | | | | | Turns on some more debug flags. We actually ran into a nil sync problem with QSB that this should help out. DELTA=16 (16 added, 0 deleted, 0 changed) R=thomasvl
* [Author: dmaclach]Gravatar gtm.daemon2009-03-13
| | | | | | | | Fixes up the leaks in the tests. Sets up the RunMacOSUnitTest script so that it actually works correctly with respect to enabling leaks. DELTA=20 (4 added, 3 deleted, 13 changed) R=thomasvl
* [Author: thomasvl]Gravatar gtm.daemon2009-03-11
| | | | | | | | Update the Run*UnitTests.sh script to support purging current target/config *.gcda files to avoid coverage merge warnings. Turn this on for the GTM unittests. R=dmaclach DELTA=38 (34 added, 0 deleted, 4 changed)
* - turned off _debug framework support in tests since we now capture a lot moreGravatar thomasvl@gmail.com2009-01-09
| | | | | | | | | | | | in log validation. - Added GTM_SUPPORT_GC for controlling the inclusion of GC related code. - If you are using GTMUnitTestDevLog, it also tries to capture logs from NSAssert. - Added GTM_FOREACH_OBJECT/GTM_FOREACH_KEY that uses NSEnumerator and objectEnumerator/keyEnumerator on 10.4, but on 10.5+/iPhone uses FastEnumeration. - GTMNSWorkspace+Running gives a variety of ways of determining the attributes of running processes.
* - GTM_INLINE will make sure a function gets inlined, and provides a consistentGravatar thomasvl@gmail.com2008-10-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | way for all GTM code to do it. - Added GTMDebugThreadValidation to allow you to enforce the fact that your code must run in the main thread in DEBUG builds. - Updated some internals of the iPhone unittesting so it doesn't double print the test descriptions, file names, or lines numbers of a test failure line. Also includes the test names in the error output. - Changed the xcconfigs so that know it's easier to set different settings at the different levels and not accidentally overwrite settings set at lower levels in the "settings collapse". Also tightened up warnings significantly. - Changed how gtm_unitTestExposedBindingsTestValues works. If you have an implementation of gtm_unitTestExposedBindingsTestValues in your own code you will need to update to the new way of calling. See implementations in GTMNSObject+BindingUnitTesting.m for details. - Added support for grabbing the build number for a particular OS in GTMSystemVersion and easily comparing it to known build numbers, and switched some types from in GTMSystemVersion from "int" to SInt32 to make 64 bit work better. - Added support for SnowLeopard (10A96). We build cleanly with the 10.6 SDKs and all radar checks were updated accordingly. Build All script was also updated to build on SnowLeopard if you have the SDK available. - Turned off building ppc64 GTM because the SnowLeopard SDK currently doesn't have ppc64 support, so SenTestCase isn't defined. This makes it impossible to build the ppc64 10.5 config on SnowLeopard. We have left the setting in the xcconfig for those of you who need it, but have disabled it in the GTM project settings. - Turned on stack smashing protection on the debug builds for all Leopard and above. - Added ability to easily do leak checking by defining the GTM_ENABLE_LEAKS environment variable. It isn't on by default because several of Apple's frameworks leak. You can work around these false positives by using the GTM_LEAKS_SYMBOLS_TO_IGNORE environment variable. Also if you turn on leaks make sure to turn off zombies by defining the GTM_DISABLE_ZOMBIES variable, otherwise every memory allocation you do will look like a leak.
* - Added GTMTestTimer.h for doing high fidelity timings.Gravatar thomasvl@gmail.com2008-09-22
| | | | | | | | | | | | | | | | - Added leaks checking to iPhone unit test script. It can be controlled by the GTM_DISABLE_LEAKS environment variable - Added ability to control using zombies to iPhone unit test script. It can be controlled by the GTM_DISABLE_ZOMBIES environment variable - Added ability to control termination to iPhone unit test script. It can be controlled by the GTM_DISABLE_TERMINATION environment variable - Fixed several leaks found with leak checking enabled. - Added configs for different iPhone OS versions.
* - Added GTMExceptionalInlines for dealing with cases where you getGravatar thomasvl@gmail.com2008-09-10
| | | | | | | | | | | | | | | | warning: variable 'r' might be clobbered by 'longjmp' or 'vfork' when using certain Apple inlined functions in @synchronized/@try blocks. - Updated to Xcode 3.1 so the GTM and iPhone project have the same baseline. The code should work in other version of xcode, but the projects and xcconfig files now use 3.1 features. - Added GTMABAddressBook which is a cocoa wrapper for the 'C' AddressBook APIs on the iPhone. - Added several set environment variable statements to RunIPhoneUnitTest.sh to encourage bugs to come out of the woodwork.
* See the ReleaseNotes for the full details, highlights:Gravatar thomasvl2008-04-14
- bug fixes - code coverage support - more complete unittests - full support for unittesting UIs - support for the iphone sdk (include ui unittesting)