X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/77cc3118ce7a3a70a0a7364d77ae1eb766a477e7..HEAD:/unit-tests/test-cases/cfstring-utf16/Makefile diff --git a/unit-tests/test-cases/cfstring-utf16/Makefile b/unit-tests/test-cases/cfstring-utf16/Makefile index 3375aae..a707ba5 100644 --- a/unit-tests/test-cases/cfstring-utf16/Makefile +++ b/unit-tests/test-cases/cfstring-utf16/Makefile @@ -1,5 +1,5 @@ ## -# Copyright (c) 2008 Apple Inc. All rights reserved. +# Copyright (c) 2008-2010 Apple Inc. All rights reserved. # # @APPLE_LICENSE_HEADER_START@ # @@ -24,17 +24,17 @@ TESTROOT = ../.. include ${TESTROOT}/include/common.makefile # -# Test that utf16 cfstring literals are not coalesced. +# Test that utf16 cfstring literals are coalesced. # There is 3 CFSTR in foo.m and 1 CFSTR in bar.m -# After coalescing and dead stripping there should be only one CFSTR in the output +# After coalescing and dead stripping there should be only two CFSTR in the output # ifeq (,${findstring 64,$(ARCH)}) - CFSTRING_SIZE = 48 + CFSTRING_SIZE = 32 else - CFSTRING_SIZE = 96 + CFSTRING_SIZE = 64 endif - USTRING_SIZE = 37 + USTRING_SIZE = 28 @@ -42,8 +42,8 @@ run: all all: ${CC} ${CCFLAGS} foo.m bar.m -o foo -framework CoreFoundation -dead_strip - size -l foo | grep "__cfstring: ${CFSTRING_SIZE}" | ${FAIL_IF_EMPTY} - size -l foo | grep "__ustring: ${USTRING_SIZE}" | ${FAIL_IF_EMPTY} + size -m -l foo | grep "__cfstring: ${CFSTRING_SIZE}" | ${FAIL_IF_EMPTY} + size -m -l foo | grep "__ustring: ${USTRING_SIZE}" | ${FAIL_IF_EMPTY} ${PASS_IFF_GOOD_MACHO} foo clean: