forked from ariadne/pkgconf
tests: add fragment-comment testcase (ref #215)
parent
dcf529b83d
commit
347281ebfe
|
@ -0,0 +1,4 @@
|
||||||
|
Name: fragment-comment
|
||||||
|
Description: Test case for issue #215
|
||||||
|
Version: 1.0
|
||||||
|
Cflags: kuku=\#ttt
|
|
@ -29,6 +29,7 @@ tests_init \
|
||||||
fragment_quoting_3 \
|
fragment_quoting_3 \
|
||||||
fragment_quoting_5 \
|
fragment_quoting_5 \
|
||||||
fragment_quoting_7 \
|
fragment_quoting_7 \
|
||||||
|
fragment_comment \
|
||||||
msvc_fragment_quoting \
|
msvc_fragment_quoting \
|
||||||
msvc_fragment_render_cflags \
|
msvc_fragment_render_cflags \
|
||||||
tuple_dequote \
|
tuple_dequote \
|
||||||
|
@ -264,6 +265,14 @@ fragment_quoting_7a_body()
|
||||||
set +x
|
set +x
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
fragment_comment_body()
|
||||||
|
{
|
||||||
|
atf_check \
|
||||||
|
-o inline:'kuku=\#ttt \n' \
|
||||||
|
pkgconf --with-path="${selfdir}/lib1" --cflags fragment-comment
|
||||||
|
}
|
||||||
|
|
||||||
msvc_fragment_quoting_body()
|
msvc_fragment_quoting_body()
|
||||||
{
|
{
|
||||||
export PKG_CONFIG_PATH="${selfdir}/lib1"
|
export PKG_CONFIG_PATH="${selfdir}/lib1"
|
||||||
|
|
Loading…
Reference in New Issue