forked from ariadne/pkgconf
testsuite: parser: add remaining test cases
parent
8075de1416
commit
20f4a7fcc7
|
@ -3,6 +3,8 @@
|
||||||
. $(atf_get_srcdir)/test_env.sh
|
. $(atf_get_srcdir)/test_env.sh
|
||||||
|
|
||||||
tests_init \
|
tests_init \
|
||||||
|
comments \
|
||||||
|
comments_in_fields \
|
||||||
dos \
|
dos \
|
||||||
no_trailing_newline \
|
no_trailing_newline \
|
||||||
argv_parse \
|
argv_parse \
|
||||||
|
@ -13,6 +15,22 @@ tests_init \
|
||||||
multiline_field \
|
multiline_field \
|
||||||
quoted
|
quoted
|
||||||
|
|
||||||
|
comments_body()
|
||||||
|
{
|
||||||
|
export PKG_CONFIG_PATH="${selfdir}/lib1"
|
||||||
|
atf_check \
|
||||||
|
-o inline:"-lfoo \n" \
|
||||||
|
pkgconf --libs comments
|
||||||
|
}
|
||||||
|
|
||||||
|
comments_in_fields_body()
|
||||||
|
{
|
||||||
|
export PKG_CONFIG_PATH="${selfdir}/lib1"
|
||||||
|
atf_check \
|
||||||
|
-o inline:"-lfoo \n" \
|
||||||
|
pkgconf --libs comments-in-fields
|
||||||
|
}
|
||||||
|
|
||||||
dos_body()
|
dos_body()
|
||||||
{
|
{
|
||||||
export PKG_CONFIG_PATH="${selfdir}/lib1"
|
export PKG_CONFIG_PATH="${selfdir}/lib1"
|
||||||
|
|
Loading…
Reference in New Issue