mirror of
https://github.com/pkgconf/pkgconf.git
synced 2026-01-27 01:44:34 +00:00
tests: add test for flag whitespace parsing
Ref: https://github.com/pkgconf/pkgconf/issues/411 Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
This commit is contained in:
parent
a3da8f5cd4
commit
9e96c090dc
@ -30,6 +30,7 @@ tests_init \
|
||||
fragment_quoting_5 \
|
||||
fragment_quoting_7 \
|
||||
fragment_comment \
|
||||
fragment_whitespace \
|
||||
msvc_fragment_quoting \
|
||||
msvc_fragment_render_cflags \
|
||||
tuple_dequote \
|
||||
@ -370,3 +371,13 @@ fragment_tree_body()
|
||||
pkgconf --with-path="${selfdir}/lib1" --fragment-tree fragment-groups-2
|
||||
}
|
||||
|
||||
fragment_whitespace_body()
|
||||
{
|
||||
atf_check \
|
||||
-o inline:"'-I/includedir' [type I]\n\n" \
|
||||
pkgconf --with-path="${selfdir}/lib1" --fragment-tree flag-whitespace-2
|
||||
|
||||
atf_check \
|
||||
-o inline:"'-I/includedir' [type I]\n\n" \
|
||||
pkgconf --with-path="${selfdir}/lib1" --fragment-tree flag-whitespace
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user