]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/rpath-dlopen-leak/Makefile
dyld-733.6.tar.gz
[apple/dyld.git] / unit-tests / test-cases / rpath-dlopen-leak / Makefile
index 22610287adbb2198c634fd724140910e49219f5b..9d7195a9d869ff65e026f927d564ed1c765aacc0 100644 (file)
@@ -37,12 +37,13 @@ ifeq "ppc" "$(ARCH)"
        endif
 endif
 
        endif
 endif
 
+all-check: all check
 
 
-run: all
+check:
        if [ ${EMULATED} == 0 ]; \
        then \
        if [ ${EMULATED} == 0 ]; \
        then \
-               ${TESTROOT}/bin/exit-zero-pass.pl "rpath-dlopen-leak" "rpath-dlopen-leak" "./main | grep '0 leaks for 0 total leaked bytes' > /dev/null"; \
-               ${TESTROOT}/bin/exit-zero-pass.pl "rpath-dlopen-leak" "rpath-dlopen-leak" "./main.bad | grep '0 leaks for 0 total leaked bytes' > /dev/null"; \
+               ./main ; \
+               ./main.bad ; \
        else \
                echo "XFAIL rpath-dlopen-leak"; \
        fi;
        else \
                echo "XFAIL rpath-dlopen-leak"; \
        fi;