]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/DYLD_VERSIONED_FRAMEWORK_PATH-basic/Makefile
dyld-210.2.3.tar.gz
[apple/dyld.git] / unit-tests / test-cases / DYLD_VERSIONED_FRAMEWORK_PATH-basic / Makefile
index 36bf14e786f65b382f80283425ffaeccb7bf68dc..5c0374b60e36fa06f432aa008b7cf3d15c85387e 100644 (file)
@@ -25,9 +25,21 @@ include ${TESTROOT}/include/common.makefile
 
 PWD = $(shell pwd)
 
-all-check: all check
+ifeq "$(OS_NAME)" "iPhoneOS"
+       CHECK = check-ios
+else
+       CHECK = check-macosx
+endif
 
-check:
+
+all-check: all $(CHECK)
+
+check: $(CHECK)
+
+check-ios:
+       ./main 10
+
+check-macosx:
        ./main 10
        export DYLD_VERSIONED_FRAMEWORK_PATH="${PWD}/alt11" && ./main 11
        export DYLD_VERSIONED_FRAMEWORK_PATH="${PWD}/alt9" && ./main 10