summaryrefslogtreecommitdiff
path: root/regress/usr.bin/libtool
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin/libtool')
-rw-r--r--regress/usr.bin/libtool/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/regress/usr.bin/libtool/Makefile b/regress/usr.bin/libtool/Makefile
index e8ff3f8234f..500d43f8677 100644
--- a/regress/usr.bin/libtool/Makefile
+++ b/regress/usr.bin/libtool/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.4 2012/07/02 12:58:53 espie Exp $
+# $OpenBSD: Makefile,v 1.5 2012/07/02 13:11:34 espie Exp $
REGRESS_TARGETS = test-compile-0 test-link-0 test-install-0 \
test-run-0 test-link-1 test-install-1 test-run-1 \
test-link-2 test-link-3 test-run-2 test-run-3 \
- error-0 error-1 error-2
+ error-0 error-1 error-2 test-alternate-0
LIBTOOL ?= /usr/bin/libtool
@@ -46,6 +46,11 @@ error-2:
touch dummy.c
if ${LIBTOOL} --mode=compile --tag=@ ${CC} -c -o dummy.lo dummy.c; then exit 1; fi
+test-alternate-0:
+ touch dummy.c
+ ${LIBTOOL} compile ${CC} -c -o dummy.lo dummy.c
+ ${LIBTOOL} comp ${CC} -c -o dummy.lo dummy.c
+
${DEST}/bin/p1: ${DEST}/lib/liba.la
${DEST}/bin/p2: ${DEST}/lib/liba0.la ${DEST}/lib/liba1.la