forked from ariadne/pkgconf
Add test case for pkgconf against file in CWD
parent
5bd921b312
commit
747faf3732
|
@ -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