tests: add test for pkg-config /path/to/pc.file --flags syntax

feature/tap-sh
William Pitcock 2012-05-06 00:12:00 -05:00
parent 498debd85a
commit c0245f54a9
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,8 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --uninstalled 'foo'; echo \$?" \
'1'
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --uninstalled 'omg'; echo \$?" \
'0'
run_test "${1} ${selfdir}/lib1/foo.pc --modversion" \
'1.2.3'
# 2) tests for PKG_CONFIG_PATH order
run_test "PKG_CONFIG_PATH=${selfdir}/lib1:${selfdir}/lib2 ${1} --libs foo" \