tests: add fragment-comment testcase (ref #215)

master
Ariadne Conill 2021-03-18 05:38:47 -06:00
parent dcf529b83d
commit 347281ebfe
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Name: fragment-comment
Description: Test case for issue #215
Version: 1.0
Cflags: kuku=\#ttt

View File

@ -29,6 +29,7 @@ tests_init \
fragment_quoting_3 \
fragment_quoting_5 \
fragment_quoting_7 \
fragment_comment \
msvc_fragment_quoting \
msvc_fragment_render_cflags \
tuple_dequote \
@ -264,6 +265,14 @@ fragment_quoting_7a_body()
set +x
}
fragment_comment_body()
{
atf_check \
-o inline:'kuku=\#ttt \n' \
pkgconf --with-path="${selfdir}/lib1" --cflags fragment-comment
}
msvc_fragment_quoting_body()
{
export PKG_CONFIG_PATH="${selfdir}/lib1"