]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/zero-length-segment/Makefile
dyld-353.2.1.tar.gz
[apple/dyld.git] / unit-tests / test-cases / zero-length-segment / Makefile
index 9d8b5cb3141c31dd532b690eb5ba5c2b85afe670..297c76037390681d8b67333b633de5b04f38cb40 100644 (file)
@@ -25,7 +25,10 @@ include ${TESTROOT}/include/common.makefile
 
 SHELL = bash # use bash shell so we can redirect just stderr
 
-run: all
+
+all-check: all check
+
+check:
        export DYLD_PRINT_SEGMENTS=1 && ./main  2> segments.log
        grep __FOOBAR segments.log > /dev/null || echo "PASS zero-length-segment"
        (grep __FOOBAR segments.log > /dev/null && echo "FAIL zero-length-segment") || /usr/bin/true