summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
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