From 7bb8e9b9b24141f373ed70d7e6674a245c0227cf Mon Sep 17 00:00:00 2001 From: "thomasvl@gmail.com" Date: Mon, 22 Sep 2008 23:33:44 +0000 Subject: - Added GTMTestTimer.h for doing high fidelity timings. - 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. --- GTMiPhone.xcodeproj/project.pbxproj | 63 ++++++++++++++++++++++++++++++++----- 1 file changed, 56 insertions(+), 7 deletions(-) (limited to 'GTMiPhone.xcodeproj') diff --git a/GTMiPhone.xcodeproj/project.pbxproj b/GTMiPhone.xcodeproj/project.pbxproj index bf1133b..f470ec8 100644 --- a/GTMiPhone.xcodeproj/project.pbxproj +++ b/GTMiPhone.xcodeproj/project.pbxproj @@ -174,8 +174,8 @@ 8BC048000DAE928A00C2D1CA /* GTMUIViewUnitTestingTest.gtmUTState */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = GTMUIViewUnitTestingTest.gtmUTState; sourceTree = ""; }; 8BC048010DAE928A00C2D1CA /* GTMUIViewUnitTestingTest.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = GTMUIViewUnitTestingTest.png; sourceTree = ""; }; 8BC0480E0DAE928A00C2D1CA /* RunIPhoneUnitTest.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = RunIPhoneUnitTest.sh; sourceTree = ""; }; - 8BC049850DAEC59100C2D1CA /* DebugiPhone.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = DebugiPhone.xcconfig; sourceTree = ""; }; - 8BC049890DAEC59100C2D1CA /* ReleaseiPhone.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ReleaseiPhone.xcconfig; sourceTree = ""; }; + 8BC049850DAEC59100C2D1CA /* DebugiPhone20.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = DebugiPhone20.xcconfig; sourceTree = ""; }; + 8BC049890DAEC59100C2D1CA /* ReleaseiPhone20.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ReleaseiPhone20.xcconfig; sourceTree = ""; }; 8BC0498F0DAEC59100C2D1CA /* CodeCoverage.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = CodeCoverage.xcconfig; sourceTree = ""; }; 8BC04A6F0DAF144200C2D1CA /* GTMSystemVersion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GTMSystemVersion.h; sourceTree = ""; }; 8BC04A710DAF144700C2D1CA /* GTMSystemVersionTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GTMSystemVersionTest.m; sourceTree = ""; }; @@ -425,8 +425,8 @@ 8BC04F020DB15A5300C2D1CA /* Project */ = { isa = PBXGroup; children = ( - 8BC049850DAEC59100C2D1CA /* DebugiPhone.xcconfig */, - 8BC049890DAEC59100C2D1CA /* ReleaseiPhone.xcconfig */, + 8BC049850DAEC59100C2D1CA /* DebugiPhone20.xcconfig */, + 8BC049890DAEC59100C2D1CA /* ReleaseiPhone20.xcconfig */, ); path = Project; sourceTree = ""; @@ -441,6 +441,23 @@ }; /* End PBXGroup section */ +/* Begin PBXLegacyTarget section */ + F4B541440E7F022B004738EC /* All UnitTests all SDKs */ = { + isa = PBXLegacyTarget; + buildArgumentsString = "\"All UnitTests\" \"All UnitTests\""; + buildConfigurationList = F4B5414A0E7F025F004738EC /* Build configuration list for PBXLegacyTarget "All UnitTests all SDKs" */; + buildPhases = ( + ); + buildToolPath = BuildScripts/BuildAllSDKs.sh; + buildWorkingDirectory = "$(SRCROOT)"; + dependencies = ( + ); + name = "All UnitTests all SDKs"; + passBuildSettingsInEnvironment = 1; + productName = "All UnitTests all SDKs"; + }; +/* End PBXLegacyTarget section */ + /* Begin PBXNativeTarget section */ 1D6058900D05DD3D006BFB54 /* GTMiPhoneUnitTesting */ = { isa = PBXNativeTarget; @@ -474,6 +491,7 @@ targets = ( F4C7F9BF0DC62EC8009BEE5B /* All UnitTests */, 1D6058900D05DD3D006BFB54 /* GTMiPhoneUnitTesting */, + F4B541440E7F022B004738EC /* All UnitTests all SDKs */, ); }; /* End PBXProject section */ @@ -600,7 +618,7 @@ }; 8BC0497D0DAEC48600C2D1CA /* Debug-gcov */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 8BC049850DAEC59100C2D1CA /* DebugiPhone.xcconfig */; + baseConfigurationReference = 8BC049850DAEC59100C2D1CA /* DebugiPhone20.xcconfig */; buildSettings = { GCC_PREFIX_HEADER = GTM_Prefix.pch; SDKROOT = iphonesimulator2.0; @@ -618,7 +636,7 @@ }; C01FCF4F08A954540054247B /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 8BC049850DAEC59100C2D1CA /* DebugiPhone.xcconfig */; + baseConfigurationReference = 8BC049850DAEC59100C2D1CA /* DebugiPhone20.xcconfig */; buildSettings = { GCC_PREFIX_HEADER = GTM_Prefix.pch; SDKROOT = iphonesimulator2.0; @@ -627,13 +645,34 @@ }; C01FCF5008A954540054247B /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 8BC049890DAEC59100C2D1CA /* ReleaseiPhone.xcconfig */; + baseConfigurationReference = 8BC049890DAEC59100C2D1CA /* ReleaseiPhone20.xcconfig */; buildSettings = { GCC_PREFIX_HEADER = GTM_Prefix.pch; SDKROOT = iphonesimulator2.0; }; name = Release; }; + F4B541450E7F022B004738EC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "All UnitTests all SDKs"; + }; + name = Debug; + }; + F4B541460E7F022B004738EC /* Debug-gcov */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "All UnitTests all SDKs"; + }; + name = "Debug-gcov"; + }; + F4B541470E7F022B004738EC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "All UnitTests all SDKs"; + }; + name = Release; + }; F4C7F9C00DC62EC8009BEE5B /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -678,6 +717,16 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + F4B5414A0E7F025F004738EC /* Build configuration list for PBXLegacyTarget "All UnitTests all SDKs" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F4B541450E7F022B004738EC /* Debug */, + F4B541460E7F022B004738EC /* Debug-gcov */, + F4B541470E7F022B004738EC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; F4C7F9C50DC62F0C009BEE5B /* Build configuration list for PBXAggregateTarget "All UnitTests" */ = { isa = XCConfigurationList; buildConfigurations = ( -- cgit v1.2.3