summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-07-02 12:58:54 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-07-02 12:58:54 +0000
commit8e7aa77e4c647afa9da5c7ecefb8133b32271155 (patch)
treec031ead5358de6f772c71523c4ef7f308e753b56 /regress
parentb4e480c9e431bacf793c62d726904e80edf8fbcc (diff)
so gnu libtool even has some forbidden tags...
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/libtool/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/regress/usr.bin/libtool/Makefile b/regress/usr.bin/libtool/Makefile
index 30c7a58e892..e8ff3f8234f 100644
--- a/regress/usr.bin/libtool/Makefile
+++ b/regress/usr.bin/libtool/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.3 2012/07/02 12:40:20 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2012/07/02 12:58:53 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-0 error-1 error-2
LIBTOOL ?= /usr/bin/libtool
@@ -42,6 +42,9 @@ error-1:
touch dummy.c
${LIBTOOL} --mode=compile --tag=notatag ${CC} -c -o dummy.lo dummy.c 2>&1|fgrep -q "ignoring unknown tag"
+error-2:
+ touch dummy.c
+ if ${LIBTOOL} --mode=compile --tag=@ ${CC} -c -o dummy.lo dummy.c; then exit 1; fi
${DEST}/bin/p1: ${DEST}/lib/liba.la
${DEST}/bin/p2: ${DEST}/lib/liba0.la ${DEST}/lib/liba1.la