aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-02-01 21:33:37 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-02-01 21:33:37 +0000
commit11428214e480f1e305658fd084413b45f2353ffd (patch)
tree3cb369e9e9e6a3dc97f8023aad23293010de9898 /UnitTesting
parentf232100b3a40a5e2e02db388d99feed8fe179037 (diff)
[Author: dmaclach]
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)
Diffstat (limited to 'UnitTesting')
-rwxr-xr-xUnitTesting/RunMacOSUnitTests.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/UnitTesting/RunMacOSUnitTests.sh b/UnitTesting/RunMacOSUnitTests.sh
index 34fd23a..285dfb2 100755
--- a/UnitTesting/RunMacOSUnitTests.sh
+++ b/UnitTesting/RunMacOSUnitTests.sh
@@ -195,6 +195,8 @@ RunTests() {
AppendToSymbolsLeaksShouldIgnore "-[IMServiceAgentImpl allServices]"
# radar 6264034 +[IKSFEffectDescription initialize] Leaks
AppendToSymbolsLeaksShouldIgnore "+[IKSFEffectDescription initialize]"
+ # radar 7598715 Leak when creating new NSColor using lab color space.
+ AppendToSymbolsLeaksShouldIgnore "CMSSetLabCLUT"
# Running leaks on architectures that support leaks.
export MallocStackLogging=YES
@@ -206,9 +208,10 @@ RunTests() {
# Running leaks on architectures that don't support leaks.
unset MallocStackLogging
- GTM_ENABLE_LEAKS=0
+ unset GTM_ENABLE_LEAKS
ARCHS="${NO_LEAK_TEST_ARCHS}"
VALID_ARCHS="${NO_LEAK_TEST_ARCHS}"
+ GTMXcodeNote ${LINENO} "Leak checking disabled for $ARCHS due to no support for leaks on platform".
MaybeFlock "${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests"
}