forked from ariadne/pkgconf
tests: add test for variable case-sensitivity (ref #60)
parent
cd6d52b965
commit
8cf58d7ceb
|
@ -0,0 +1,7 @@
|
||||||
|
foo=3
|
||||||
|
Foo=4
|
||||||
|
|
||||||
|
Name: case-sensitivity
|
||||||
|
Description: Package for testing case-sensitivity
|
||||||
|
Version: 1
|
||||||
|
Requires: foo < ${foo}
|
|
@ -237,6 +237,11 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --exists --print-errors 'nonexi
|
||||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib2' ${1} ${selfdir}/lib3/bar.pc --cflags" \
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib2' ${1} ${selfdir}/lib3/bar.pc --cflags" \
|
||||||
'-fPIC -I/usr/include/foo'
|
'-fPIC -I/usr/include/foo'
|
||||||
|
|
||||||
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --variable=foo case-sensitivity" \
|
||||||
|
"3"
|
||||||
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --variable=Foo case-sensitivity" \
|
||||||
|
"4"
|
||||||
|
|
||||||
# 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