X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/74cfe461234fcf76aadb30ed686f281f06b555cd..a61fdf0a731e23ff7eb0cc86ba748fd9af5de879:/unit-tests/test-cases/indirect-dylib/Makefile diff --git a/unit-tests/test-cases/indirect-dylib/Makefile b/unit-tests/test-cases/indirect-dylib/Makefile index 32cb276..e3056a5 100644 --- a/unit-tests/test-cases/indirect-dylib/Makefile +++ b/unit-tests/test-cases/indirect-dylib/Makefile @@ -36,11 +36,11 @@ run: all all: ${CC} ${CCFLAGS} bar.c -dynamiclib -o libbar.dylib + ${FAIL_IF_BAD_MACHO} libbar.dylib ${CC} ${CCFLAGS} foo.c libbar.dylib -dynamiclib -o libfoo.dylib + ${FAIL_IF_BAD_MACHO} libfoo.dylib ${FAIL_IF_SUCCESS} ${CC} ${CCFLAGS} main.c -o main libfoo.dylib 2> fail.log grep ordinal fail.log | ${PASS_IFF_EMPTY} clean: - rm libfoo.dylib libbar.dylib main fail.log - - + rm *.dylib main fail.log