Add test for multiple dependencies on base package

feature/tap-sh
Tony Theodore 2013-08-24 13:58:41 +10:00
parent 36827a3204
commit dd975df1cb
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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" \