forked from ariadne/pkgconf
Merge pull request #38 from bdrewery/add-test-case-for-local-file
Add test case for pkgconf against file in CWDfeature/tap-sh
commit
b2f4583db2
|
@ -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 \$?" \
|
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs nocflag; echo \$?" \
|
||||||
'0'
|
'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
|
# 10) tests for internal getopt implementation with options at the end
|
||||||
if [ "x@STRICT_MODE@" = "xno" ]; then
|
if [ "x@STRICT_MODE@" = "xno" ]; then
|
||||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} foo --libs" \
|
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} foo --libs" \
|
||||||
|
|
Loading…
Reference in New Issue