X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/bac542e65c0030c0d819c7ff1dcfc25892a61844..HEAD:/unit-tests/test-cases/zero-length-segment/Makefile diff --git a/unit-tests/test-cases/zero-length-segment/Makefile b/unit-tests/test-cases/zero-length-segment/Makefile index 9d8b5cb..297c760 100644 --- a/unit-tests/test-cases/zero-length-segment/Makefile +++ b/unit-tests/test-cases/zero-length-segment/Makefile @@ -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