summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
Diffstat (limited to 'check')
-rw-r--r--check/Makefile.am6
-rw-r--r--check/check-tilde13
-rw-r--r--check/tilde.pc5
3 files changed, 22 insertions, 2 deletions
diff --git a/check/Makefile.am b/check/Makefile.am
index d5c84e2..30a527c 100644
--- a/check/Makefile.am
+++ b/check/Makefile.am
@@ -25,7 +25,8 @@ TESTS = \
check-sysroot \
check-uninstalled \
check-debug \
- check-gtk
+ check-gtk \
+ check-tilde
EXTRA_DIST = \
$(TESTS) \
@@ -91,4 +92,5 @@ EXTRA_DIST = \
gtk/xau.pc \
gtk/xcb.pc \
gtk/xproto.pc \
- gtk/xrender.pc
+ gtk/xrender.pc \
+ tilde.pc
diff --git a/check/check-tilde b/check/check-tilde
new file mode 100644
index 0000000..0ffc8f5
--- /dev/null
+++ b/check/check-tilde
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+set -e
+
+. ${srcdir}/common
+
+# expect unescaped tilde from cflags
+RESULT='-I~'
+run_test --cflags tilde
+
+# expect unescaped tilde from libs
+RESULT='-L~'
+run_test --libs tilde
diff --git a/check/tilde.pc b/check/tilde.pc
new file mode 100644
index 0000000..c3babc1
--- /dev/null
+++ b/check/tilde.pc
@@ -0,0 +1,5 @@
+Name: tilde
+Description: tilde test module
+Version: 1.0
+Libs: -L~
+Cflags: -I~