]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/branch-islands/Makefile
ld64-133.3.tar.gz
[apple/ld64.git] / unit-tests / test-cases / branch-islands / Makefile
index 471e44669f073fa86556ee74703a422914e57e8b..8e1870b7c1575c740fdb8cc1d2797f0c4c36f504 100644 (file)
@@ -32,8 +32,12 @@ run: all
 
 
 all:
+       # Verify that we fail if there is no valid place to insert branch islands.
+       ${CC} ${CCFLAGS} hello.c atomic_space.s extra.c -o hello ${ARCH_FLAGS} 2>&1 | grep "Unable to insert branch island. No insertion point available." | ${PASS_IFF_STDIN}
+
        ${CC} ${CCFLAGS} hello.c space.s extra.c -o hello ${ARCH_FLAGS}
        ${PASS_IFF_GOOD_MACHO} hello
 
+
 clean:
        rm  hello