diff options
author | Colin Walters <walters@verbum.org> | 2013-03-06 12:15:20 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-03-06 17:15:51 -0500 |
commit | de4385923073afaf04687d43d7cb4c6ca43f0af9 (patch) | |
tree | ed4e9656adf00db7d3058ebd7c88beba0a62ff1c /tests/scanner/Makefile.am | |
parent | 7639a440b43ea1197de96035304404b0c87db608 (diff) | |
download | gobject-introspection-de4385923073afaf04687d43d7cb4c6ca43f0af9.tar.gz |
tests: Add more torture CPPFLAGS for Regress
This helps reproduce the issue with spidermonkey's .pc file using
-include.
Also add a single quote test case.
https://bugzilla.gnome.org/show_bug.cgi?id=695182
Diffstat (limited to 'tests/scanner/Makefile.am')
-rw-r--r-- | tests/scanner/Makefile.am | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/scanner/Makefile.am b/tests/scanner/Makefile.am index d3f2c6c4..31487a6b 100644 --- a/tests/scanner/Makefile.am +++ b/tests/scanner/Makefile.am @@ -34,8 +34,9 @@ libregress_la_SOURCES = \ $(srcdir)/foo.c $(srcdir)/foo.h \ $(srcdir)/drawable.c $(srcdir)/drawable.h \ $(NULL) -REGRESS_PRINT_PREVIEW_COMMAND="evince --unlink-tempfile --preview --print-settings '%s' '%f'" -libregress_la_CPPFLAGS = -DREGRESS_PRINT_PREVIEW_COMMAND=\"$(REGRESS_PRINT_PREVIEW_COMMAND)\" +REGRESS_PRINT_PREVIEW_COMMAND="evince --unlink-tempfile --preview --print-settings %s %f" +libregress_la_CPPFLAGS = -DREGRESS_PRINT_PREVIEW_COMMAND=\"$(REGRESS_PRINT_PREVIEW_COMMAND)\" \ + -DREGRESS_SOME_CHAR=\'c\' libregress_la_LIBADD = $(GIO_LIBS) if HAVE_CAIRO libregress_la_LIBADD += $(CAIRO_LIBS) @@ -81,7 +82,7 @@ GIRS += SLetter-1.0.gir Regress-1.0.gir: $(top_builddir)/Gio-2.0.gir Utility-1.0.gir libregress.la Regress_1_0_gir_LIBS = libregress.la -Regress_1_0_gir_CFLAGS = $(libregress_la_CPPFLAGS) $(libregress_la_CFLAGS) +Regress_1_0_gir_CFLAGS = $(libregress_la_CPPFLAGS) $(libregress_la_CFLAGS) -include "glib.h" Regress_1_0_gir_INCLUDES = Gio-2.0 Utility-1.0 if HAVE_CAIRO Regress_1_0_gir_INCLUDES += cairo-1.0 |