tests: add a test for --print-provides (#95)

pull/100/head
William Pitcock 2016-08-24 11:21:40 -05:00
parent 4a1b88fcc4
commit 226f8616de
1 changed files with 3 additions and 0 deletions

View File

@ -286,6 +286,9 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags prefix-foo1 prefix-foo
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --variable=typelibdir --define-variable='libdir=\${libdir}' typelibdir" \
"\${libdir}/typelibdir"
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --print-provides foo" \
"foo = 1.2.3"
# 10) tests for internal getopt implementation with options at the end
if [ "x@STRICT_MODE@" = "xno" ]; then
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} foo --libs" \