forked from ariadne/pkgconf
testsuite: add a test for tilde quoting
parent
2936927008
commit
9dc3cbc784
|
@ -0,0 +1,5 @@
|
||||||
|
Name: tilde
|
||||||
|
Description: Another pkg-config test
|
||||||
|
Version: 1.3
|
||||||
|
Libs: -L~ -ltilde
|
||||||
|
Cflags: -I~
|
|
@ -118,6 +118,10 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --exists -foo; echo \$?" \
|
||||||
'1'
|
'1'
|
||||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs argv-parse-3" \
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs argv-parse-3" \
|
||||||
'-llib-1'
|
'-llib-1'
|
||||||
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs tilde-quoting" \
|
||||||
|
'-L~'
|
||||||
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags tilde-quoting" \
|
||||||
|
'-I~'
|
||||||
|
|
||||||
# 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" \
|
||||||
|
|
Loading…
Reference in New Issue