From b8625d15100abbef264d905c47863149572c6520 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 2 Jul 2012 16:06:00 -0400 Subject: tests: Add SLetter This test case has a single-letter symbol prefix, which triggers edge cases in the difference between prefix handling. See https://bugzilla.gnome.org/show_bug.cgi?id=637025 --- tests/scanner/Makefile.am | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tests/scanner/Makefile.am') diff --git a/tests/scanner/Makefile.am b/tests/scanner/Makefile.am index 0e5ddb53..0db77ccc 100644 --- a/tests/scanner/Makefile.am +++ b/tests/scanner/Makefile.am @@ -4,6 +4,7 @@ include $(top_srcdir)/Makefile.introspection INTROSPECTION_SCANNER_ARGS += --warn-all check_LTLIBRARIES = \ + libsletter.la \ libannotation.la \ libtestinherit.la \ libfoo.la \ @@ -21,6 +22,11 @@ AM_CFLAGS = $(GIO_CFLAGS) $(GOBJECT_CFLAGS) $(GTHREAD_CFLAGS) AM_LDFLAGS = -rpath /unused -avoid-version LIBS = $(GOBJECT_LIBS) $(GTHREAD_LIBS) +libsletter_la_SOURCES = $(srcdir)/sletter.c $(srcdir)/sletter.h +libsletter_la_LIBADD = $(GIO_LIBS) +libsletter_la_CFLAGS = $(AM_CFLAGS) +libsletter_la_LDFLAGS = $(AM_LDFLAGS) + libannotation_la_SOURCES = $(srcdir)/annotation.c $(srcdir)/annotation.h libtestinherit_la_SOURCES = $(srcdir)/drawable.c $(srcdir)/drawable.h libfoo_la_SOURCES = $(srcdir)/foo.c $(srcdir)/foo.h @@ -51,6 +57,13 @@ INTROSPECTION_GIRS = $(GIRS) CLEANFILES = $(TYPELIBS) $(GIRS) EXTRA_DIST = $(EXPECTEDGIRS) +SLetter-1.0.gir: $(top_builddir)/Gio-2.0.gir libsletter.la +SLetter_1_0_gir_LIBS = libsletter.la +SLetter_1_0_gir_INCLUDES = Gio-2.0 +SLetter_1_0_gir_FILES = $(libsletter_la_SOURCES) +SLetter_1_0_gir_SCANNERFLAGS = --identifier-prefix=S --c-include="sletter.h" --warn-error +GIRS += SLetter-1.0.gir + Regress-1.0.gir: $(top_builddir)/Gio-2.0.gir libregress.la Regress_1_0_gir_LIBS = libregress.la Regress_1_0_gir_INCLUDES = cairo-1.0 Gio-2.0 -- cgit v1.2.1