forked from ariadne/pkgconf
Add test for multiple dependencies on base package
parent
36827a3204
commit
dd975df1cb
|
@ -1,6 +1,6 @@
|
||||||
Name: private-libs-duplication
|
Name: private-libs-duplication
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Requires: bar
|
Requires: baz bar
|
||||||
Libs: -lprivate
|
Libs: -lprivate
|
||||||
Libs.private: -lfoo
|
Libs.private: -lfoo
|
||||||
|
|
||||||
|
|
|
@ -117,7 +117,7 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --static --libs argv-parse-2" \
|
||||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --static --cflags baz" \
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --static --cflags baz" \
|
||||||
'-fPIC' '-I/usr/include/foo' '-DFOO_STATIC'
|
'-fPIC' '-I/usr/include/foo' '-DFOO_STATIC'
|
||||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --static --libs-only-l private-libs-duplication" \
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --static --libs-only-l private-libs-duplication" \
|
||||||
'-lprivate -lbar -lfoo'
|
'-lprivate -lbaz -lzee -lbar -lfoo'
|
||||||
|
|
||||||
# 4) tests for parser bugs
|
# 4) tests for parser bugs
|
||||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs dos-lineendings" \
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs dos-lineendings" \
|
||||||
|
|
Loading…
Reference in New Issue