summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorTollef Fog Heen <tfheen@err.no>2010-05-27 21:48:52 +0200
committerTollef Fog Heen <tfheen@err.no>2010-05-27 21:48:52 +0200
commit2ce485c65dd9d2bbd8e64dba275f449ff2303e72 (patch)
tree82b7ad71878612c73b40802402ed334f2038c9d5 /check
parent376d42b004bcbc60aa13a88d15925f244a1990db (diff)
downloadpkg-config-2ce485c65dd9d2bbd8e64dba275f449ff2303e72.tar.gz
Allow : and = unescaped in output too
Diffstat (limited to 'check')
-rwxr-xr-xcheck/check-whitespace4
-rw-r--r--check/whitespace.pc4
2 files changed, 4 insertions, 4 deletions
diff --git a/check/check-whitespace b/check/check-whitespace
index 38de0e8..31a413c 100755
--- a/check/check-whitespace
+++ b/check/check-whitespace
@@ -11,10 +11,10 @@ set -e
# expect cflags from whitespace
ARGS="--cflags whitespace"
-RESULT="-I/usr/white\\ space/include -Iinclude\\ dir -Iother\\ include\\ dir"
+RESULT="-Dlala=misc -I/usr/white\\ space/include -Iinclude\\ dir -Iother\\ include\\ dir"
run_test
# expect libs from whitespace
ARGS="--libs whitespace"
-RESULT="-L/usr/white\\ space/lib -lfoo\\ bar -lbar\\ baz"
+RESULT="-r:foo -L/usr/white\\ space/lib -lfoo\\ bar -lbar\\ baz"
run_test
diff --git a/check/whitespace.pc b/check/whitespace.pc
index e9d8488..50a8742 100644
--- a/check/whitespace.pc
+++ b/check/whitespace.pc
@@ -7,5 +7,5 @@ Name: Whitespace test
Description: Dummy pkgconfig test package for testing pkgconfig
Version: 1.0.0
Requires:
-Libs: -L${libdir} -lfoo\ bar "-lbar baz"
-Cflags: -I${includedir} -Iinclude\ dir "-Iother include dir"
+Libs: -L${libdir} -lfoo\ bar "-lbar baz" -r:foo
+Cflags: -I${includedir} -Iinclude\ dir "-Iother include dir" -Dlala=misc