forked from ariadne/pkgconf
tests: add test for pkg-config /path/to/pc.file --flags syntax
parent
498debd85a
commit
c0245f54a9
|
@ -53,6 +53,8 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --uninstalled 'foo'; echo \$?" \
|
||||||
'1'
|
'1'
|
||||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --uninstalled 'omg'; echo \$?" \
|
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --uninstalled 'omg'; echo \$?" \
|
||||||
'0'
|
'0'
|
||||||
|
run_test "${1} ${selfdir}/lib1/foo.pc --modversion" \
|
||||||
|
'1.2.3'
|
||||||
|
|
||||||
# 2) tests for PKG_CONFIG_PATH order
|
# 2) tests for PKG_CONFIG_PATH order
|
||||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1:${selfdir}/lib2 ${1} --libs foo" \
|
run_test "PKG_CONFIG_PATH=${selfdir}/lib1:${selfdir}/lib2 ${1} --libs foo" \
|
||||||
|
|
Loading…
Reference in New Issue