X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/74cfe461234fcf76aadb30ed686f281f06b555cd..a61fdf0a731e23ff7eb0cc86ba748fd9af5de879:/unit-tests/test-cases/filelist/Makefile diff --git a/unit-tests/test-cases/filelist/Makefile b/unit-tests/test-cases/filelist/Makefile index 78a1004..0b1a743 100644 --- a/unit-tests/test-cases/filelist/Makefile +++ b/unit-tests/test-cases/filelist/Makefile @@ -27,7 +27,7 @@ include ${TESTROOT}/include/common.makefile PWD = $(shell pwd) # -# The point of this test is to check the two forms of the' +# The point of this test is to check the two forms of the # -filelist option # @@ -35,14 +35,13 @@ run: all all: ${CC} ${CCFLAGS} -c hello.c -o hello-${ARCH}.o + ${FAIL_IF_BAD_OBJ} hello-${ARCH}.o echo "${PWD}/hello-${ARCH}.o" > "${PWD}/filelist1" - cd /tmp && ${CC} ${CCFLAGS} -arch ${ARCH} -filelist "${PWD}/filelist1" -o "${PWD}/hello-${ARCH}" + cd /tmp && ${CC} ${CCFLAGS} -filelist "${PWD}/filelist1" -o "${PWD}/hello-${ARCH}" ${FAIL_IF_BAD_MACHO} hello-${ARCH} echo "hello-${ARCH}.o" > "${PWD}/filelist2" - cd /tmp && ${CC} ${CCFLAGS} -arch ${ARCH} -filelist "${PWD}/filelist2,${PWD}" -o "${PWD}/hello-${ARCH}" + cd /tmp && ${CC} ${CCFLAGS} -filelist "${PWD}/filelist2,${PWD}" -o "${PWD}/hello-${ARCH}" ${PASS_IFF_GOOD_MACHO} hello-${ARCH} clean: - rm hello-${ARCH} hello-${ARCH}.o filelist1 filelist2 - - + rm hello-* *.o filelist1 filelist2