summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2011-06-06 17:45:54 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2011-06-06 17:45:54 +0000
commita015b40a3d0b2f4f222cbb240eba9ddef219846a (patch)
treea79ecf9b7c0f98681ee2e8018045a8596a4be7de /regress/usr.bin
parent755d6fb4fcae255411f843f029cffcebfc39f9f6 (diff)
add currently failing test for PKG_CONFIG_LOG
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/pkg-config/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/regress/usr.bin/pkg-config/Makefile b/regress/usr.bin/pkg-config/Makefile
index 92836f64b77..0fb5aacc249 100644
--- a/regress/usr.bin/pkg-config/Makefile
+++ b/regress/usr.bin/pkg-config/Makefile
@@ -1,12 +1,11 @@
-# $OpenBSD: Makefile,v 1.3 2011/06/06 17:35:33 jasper Exp $
+# $OpenBSD: Makefile,v 1.4 2011/06/06 17:45:53 jasper Exp $
-#REGRESS_TARGETS=cmp-vers1 cmp-vers2 cmp-vers3 cmp-vers4 cmp-vers5 cmp-vers6 \
-# builddir define-variable
REGRESS_TARGETS= corrupt1 \
corrupt2 \
print-provides \
print-req \
print-req-priv \
+ logfile \
sysroot-cflags \
sysroot-libs
@@ -70,6 +69,13 @@ cmp-vers6:
builddir:
# Test PKG_CONFIG_TOP_BUILD_DIR
+logfile:
+ # Test PKG_CONFIG_LOG
+ @echo "[/usr/bin/pkg-config] [--exists] [sysroot >= 0.0.0]" > $@.want
+ @PKG_CONFIG_PATH=${.CURDIR}/pcdir/ PKG_CONFIG_LOG=$@.got \
+ pkg-config --exists "sysroot >= 0.0.0"
+ @diff -u $@.want $@.got
+
sysroot-cflags:
# Test PKG_CONFIG_SYSROOT_DIR (cflags)
@echo "-I/altroot/tmp/include -I/altroot/tmp/include/foo" > $@.want