testsuite: add a test for comma as package separator (some openbsd pkg-config versions did not support this)
parent
f44f83998c
commit
97e1ffe7b3
|
@ -60,6 +60,8 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags --libs 'foo > 1.2'" \
|
||||||
'-lfoo' '-I/test/include/foo' '-fPIC'
|
'-lfoo' '-I/test/include/foo' '-fPIC'
|
||||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags --libs 'foo > 1.2 bar >= 1.3'" \
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags --libs 'foo > 1.2 bar >= 1.3'" \
|
||||||
'-lfoo' '-I/test/include/foo' '-fPIC'
|
'-lfoo' '-I/test/include/foo' '-fPIC'
|
||||||
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags --libs 'foo > 1.2,bar >= 1.3'" \
|
||||||
|
'-lbar' '-I/test/include/foo' '-fPIC'
|
||||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags --libs 'foo' '>' '1.2'" \
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags --libs 'foo' '>' '1.2'" \
|
||||||
'-lfoo' '-I/test/include/foo' '-fPIC'
|
'-lfoo' '-I/test/include/foo' '-fPIC'
|
||||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --exists nonexistant; echo \$?" \
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --exists nonexistant; echo \$?" \
|
||||||
|
|
Loading…
Reference in New Issue