X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/9e225d036f7ada46c87f40647ed12d4c406f502f..412ebb8e3cc35d457058c31310d89ef96b7c416d:/unit-tests/test-cases/unloadable-library-residue/Makefile?ds=sidebyside diff --git a/unit-tests/test-cases/unloadable-library-residue/Makefile b/unit-tests/test-cases/unloadable-library-residue/Makefile index 77e16cc..42459e6 100644 --- a/unit-tests/test-cases/unloadable-library-residue/Makefile +++ b/unit-tests/test-cases/unloadable-library-residue/Makefile @@ -31,14 +31,15 @@ include ${TESTROOT}/include/common.makefile ### so the next use of libfoo seemed to succeed, when it should have failed. ### +all-check: all check -run: all +check: export DYLD_IMAGE_SUFFIX="_missing" && ./main all: main libfoo.dylib main : main.c - ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c + ${CC} ${CCFLAGS} -Wno-deprecated-declarations -I${TESTROOT}/include -o main main.c libfoo.dylib : foo.c libbar_missing.dylib libbar.dylib ${CC} ${CCFLAGS} foo.c -dynamiclib -o libfoo.dylib libbar.dylib