From 97e1ffe7b34bdb779f9fa3fb1d3cd5dfbfcae92e Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 28 May 2016 03:35:11 -0500 Subject: [PATCH] testsuite: add a test for comma as package separator (some openbsd pkg-config versions did not support this) --- tests/run.sh.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/run.sh.in b/tests/run.sh.in index 4d5f166..80d9c1c 100644 --- a/tests/run.sh.in +++ b/tests/run.sh.in @@ -60,6 +60,8 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags --libs 'foo > 1.2'" \ '-lfoo' '-I/test/include/foo' '-fPIC' run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags --libs 'foo > 1.2 bar >= 1.3'" \ '-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'" \ '-lfoo' '-I/test/include/foo' '-fPIC' run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --exists nonexistant; echo \$?" \