summaryrefslogtreecommitdiff
path: root/regress/usr.bin/pkg-config
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2011-09-17 17:46:04 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2011-09-17 17:46:04 +0000
commite82ccaa533cd3d6dc39d703cdf2ec34e0f7b3c51 (patch)
treef4506fdd519e3c8289db981369b1c057e03a1f97 /regress/usr.bin/pkg-config
parente44dd4e84320a6157094da3fd7b5fdb6c4b86b74 (diff)
add a test --variable (expansion to multiple values), currently failing.
Diffstat (limited to 'regress/usr.bin/pkg-config')
-rw-r--r--regress/usr.bin/pkg-config/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/regress/usr.bin/pkg-config/Makefile b/regress/usr.bin/pkg-config/Makefile
index f53fb57ce09..a1ac4e56b9a 100644
--- a/regress/usr.bin/pkg-config/Makefile
+++ b/regress/usr.bin/pkg-config/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.22 2011/07/27 12:30:58 jasper Exp $
+# $OpenBSD: Makefile,v 1.23 2011/09/17 17:46:03 jasper Exp $
REGRESS_TARGETS=cmp-vers1-1 \
cmp-vers1-2 \
@@ -41,7 +41,8 @@ REGRESS_TARGETS=cmp-vers1-1 \
static-libs2 \
static-libs3 \
static-libs4 \
- variable-get \
+ variable-get-1 \
+ variable-get-2 \
variable-set \
variable-requires \
missing-req-1 \
@@ -356,13 +357,20 @@ static-libs4:
@diff -u ${WANT} ${GOT}
# Misc. tests
-variable-get:
+variable-get-1:
# Test --variable
@echo "/tmp" > ${WANT}
@PKG_CONFIG_PATH=${.CURDIR}/pcdir/ ${PKG_CONFIG} --errors-to-stdout \
--print-errors --variable prefix sysroot > ${GOT}
@diff -u ${WANT} ${GOT}
+variable-get-2:
+ # Test --variable (expansion to multiple values)
+ @echo "alpha beta" > ${WANT}
+ @PKG_CONFIG_PATH=${.CURDIR}/pcdir/ ${PKG_CONFIG} --errors-to-stdout \
+ --print-errors --variable requires requires-test3 > ${GOT}
+ @diff -u ${WANT} ${GOT}
+
variable-set:
# Test --define-variable
@echo "-I/usr/local2/include -I/usr/local2/include/foo" > ${WANT}