diff --git a/tests/lib1/fragment-comment.pc b/tests/lib1/fragment-comment.pc new file mode 100644 index 0000000..dfdd4f3 --- /dev/null +++ b/tests/lib1/fragment-comment.pc @@ -0,0 +1,4 @@ +Name: fragment-comment +Description: Test case for issue #215 +Version: 1.0 +Cflags: kuku=\#ttt \ No newline at end of file diff --git a/tests/parser.sh b/tests/parser.sh index a87d537..988648f 100755 --- a/tests/parser.sh +++ b/tests/parser.sh @@ -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"