Add a test case for pkgconf --exists --print-errors "mjpegtools > 1.6.0 mjpegtools < 1.8.0"

pull/48/head
Baptiste Daroussin 2013-03-16 02:10:39 +01:00
parent 18153786a2
commit ce1fd58aa6
1 changed files with 3 additions and 0 deletions

View File

@ -222,6 +222,9 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs framework-1" \
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs framework-2" \
"-F/usr/lib -framework framework-2 -framework framework-1"
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --exists --print-errors 'foo > 0.6.0 foo < 0.8.0'" \
'1'
# 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" \