forked from ariadne/pkgconf
add testcase for comments in fields (grr, nettle)
parent
853b7e9849
commit
b700a6cde6
|
@ -0,0 +1,9 @@
|
||||||
|
Name: comments-in-fields
|
||||||
|
Description: Comments in fields test case
|
||||||
|
URL: http://pkgconf.org/
|
||||||
|
Version: 0
|
||||||
|
Requires: # foo
|
||||||
|
Requires.private: foo
|
||||||
|
Libs: # -lbar
|
||||||
|
Libs.private: -lbar
|
||||||
|
Cflags: -I${includedir}
|
|
@ -252,6 +252,9 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --variable=foo case-sensitivity
|
||||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --variable=Foo case-sensitivity" \
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --variable=Foo case-sensitivity" \
|
||||||
"4"
|
"4"
|
||||||
|
|
||||||
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs comments-in-fields" \
|
||||||
|
"-lfoo"
|
||||||
|
|
||||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' PKG_CONFIG_SYSROOT_DIR='/sysroot' ${1} --libs sysroot-dir" \
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' PKG_CONFIG_SYSROOT_DIR='/sysroot' ${1} --libs sysroot-dir" \
|
||||||
'-L/sysroot/lib -lfoo'
|
'-L/sysroot/lib -lfoo'
|
||||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' PKG_CONFIG_SYSROOT_DIR='/sysroot2' ${1} --libs sysroot-dir" \
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' PKG_CONFIG_SYSROOT_DIR='/sysroot2' ${1} --libs sysroot-dir" \
|
||||||
|
|
Loading…
Reference in New Issue