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

feature/tap-sh
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" \ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs framework-2" \
"-F/usr/lib -framework framework-2 -framework framework-1" "-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 # 10) tests for internal getopt implementation with options at the end
if [ "x@STRICT_MODE@" = "xno" ]; then if [ "x@STRICT_MODE@" = "xno" ]; then
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} foo --libs" \ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} foo --libs" \