testsuite: regression test for parsing comments
Add a test case about a regression that happened when parsing comments (bug #75)pull/81/head
parent
663d45dffc
commit
1dc28ba666
|
@ -0,0 +1,6 @@
|
||||||
|
Name: comments
|
||||||
|
Description: Portable CD-ROM I/O library
|
||||||
|
Version: 0
|
||||||
|
#Requires: bar-2.0
|
||||||
|
Libs: -lfoo
|
||||||
|
Cflags: -I${includedir}
|
|
@ -255,6 +255,9 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --variable=Foo case-sensitivity
|
||||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs comments-in-fields" \
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs comments-in-fields" \
|
||||||
"-lfoo"
|
"-lfoo"
|
||||||
|
|
||||||
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs comments" \
|
||||||
|
"-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