diff options
author | Simon Feltman <sfeltman@src.gnome.org> | 2013-12-17 05:22:39 -0800 |
---|---|---|
committer | Simon Feltman <sfeltman@src.gnome.org> | 2014-01-02 14:34:42 -0800 |
commit | 4a64ab0b8e3e6cf0ebb4f34dd9276e964e1f303c (patch) | |
tree | 122cee10b008528340cb9043d3767008843df59b /tests/scanner/Makefile.am | |
parent | 80b54bd0daf82e566570c6c952271e74fbb4542e (diff) | |
download | gobject-introspection-4a64ab0b8e3e6cf0ebb4f34dd9276e964e1f303c.tar.gz |
tests: Add tests for various struct typedef combinations
Add functional blackbox tests typedefs.[h|c] for various struct typedef
orderings. Use XFAIL_TESTS with the new Typedefs-1.0.gir target.
This allows for a differing expected gir that does not cause the suite
to fail but rather a goal to work towards.
https://bugzilla.gnome.org/show_bug.cgi?id=581525
Diffstat (limited to 'tests/scanner/Makefile.am')
-rw-r--r-- | tests/scanner/Makefile.am | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/scanner/Makefile.am b/tests/scanner/Makefile.am index a3f9a277..d72d2557 100644 --- a/tests/scanner/Makefile.am +++ b/tests/scanner/Makefile.am @@ -16,6 +16,7 @@ EXTRA_LTLIBRARIES = \ libgettype.la \ libregress.la \ libwarnlib.la \ + libtypedefs.la \ $(NULL) CLEANFILES += $(EXTRA_LTLIBRARIES) @@ -51,6 +52,7 @@ libwarnlib_la_SOURCES = $(srcdir)/warnlib.c $(srcdir)/warnlib.h libwarnlib_la_LIBADD = $(GIO_LIBS) libwarnlib_la_LDFLAGS = -export-symbols-regex '^warnlib_' -no-undefined libgettype_la_SOURCES = $(srcdir)/gettype.c $(srcdir)/gettype.h +libtypedefs_la_SOURCES = $(srcdir)/typedefs.c $(srcdir)/typedefs.h testsdir = $(datadir)/gobject-introspection-1.0/tests tests_DATA = $(libregress_la_SOURCES) $(libwarnlib_la_SOURCES) $(libutility_la_SOURCES) @@ -130,6 +132,14 @@ GetType_1_0_gir_FILES = $(libgettype_la_SOURCES) GetType_1_0_gir_SCANNERFLAGS = --c-include="gettype.h" --identifier-prefix=GetType --symbol-prefix=gettype GIRS += GetType-1.0.gir +Typedefs-1.0.gir: libtypedefs.la +Typedefs_1_0_gir_PACKAGES = gobject-2.0 +Typedefs_1_0_gir_LIBS = libtypedefs.la +Typedefs_1_0_gir_INCLUDES = GObject-2.0 +Typedefs_1_0_gir_FILES = $(libtypedefs_la_SOURCES) +Typedefs_1_0_gir_SCANNERFLAGS = --c-include="typedefs.h" --identifier-prefix=Typedefs --symbol-prefix=typedefs +GIRS += Typedefs-1.0.gir + if !OS_WIN32 EXTRA_PROGRAMS = barapp CLEANFILES += $(EXTRA_PROGRAMS) @@ -182,6 +192,7 @@ else CHECKDOCS = endif +XFAIL_TESTS = Typedefs-1.0.gir TESTS = Headeronly-1.0.gir $(CHECKGIRS) $(CHECKDOCS) $(TYPELIBS) TESTS_ENVIRONMENT = srcdir=$(srcdir) top_srcdir=$(top_srcdir) builddir=$(builddir) top_builddir=$(top_builddir) \ $(top_srcdir)/tests/gi-tester |