tests: add test for #67

feature/tap-sh
William Pitcock 2014-07-01 23:30:59 -05:00
parent 0c0c50671e
commit c80229c646
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,5 @@
Name: paren-quoting
Description: Another pkg-config test
Version: 1.3
Libs: -L$(libdir) -ltilde
Cflags: -I$(includedir)

View File

@ -132,6 +132,8 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs tilde-quoting" \
'-L~' '-L~'
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags tilde-quoting" \ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags tilde-quoting" \
'-I~' '-I~'
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs paren-quoting" \
'-L$(libdir)'
# 5) tests for other regressions # 5) tests for other regressions
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --variable=includedir foo" \ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --variable=includedir foo" \