Merge pull request #38 from bdrewery/add-test-case-for-local-file

Add test case for pkgconf against file in CWD
feature/tap-sh
William Pitcock 2012-08-25 20:06:31 -07:00
commit b2f4583db2
1 changed files with 5 additions and 0 deletions

View File

@ -177,6 +177,11 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs nolib; echo \$?" \
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs nocflag; echo \$?" \
'0'
# test 36 - running against file in CWD with no path
# File moved to CWD to allow arbitrary path to pkgconf and keep pc file in CWD
run_test "cp ${selfdir}/lib1/foo.pc . && ${1} --libs foo.pc; rm -f foo.pc" \
'-lfoo'
# 10) tests for internal getopt implementation with options at the end
if [ "x@STRICT_MODE@" = "xno" ]; then
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} foo --libs" \