forked from ariadne/pkgconf
testsuite: add --exists test for nonexistant package
parent
a3d25fe930
commit
fd9f511afa
|
@ -62,6 +62,8 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags --libs 'foo > 1.2 bar
|
|||
'-lfoo' '-I/usr/include/foo' '-fPIC'
|
||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags --libs 'foo' '>' '1.2'" \
|
||||
'-lfoo' '-I/usr/include/foo' '-fPIC'
|
||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --exists nonexistant; echo \$?" \
|
||||
'1'
|
||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --exists 'foo > 1.2'; echo \$?" \
|
||||
'0'
|
||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --exists 'foo > 1.2.3'; echo \$?" \
|
||||
|
|
Loading…
Reference in New Issue