diff options
author | Simon Feltman <sfeltman@src.gnome.org> | 2013-12-18 18:30:54 -0800 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-12-29 19:45:42 +0000 |
commit | f27aff293b8f811dbea6311d06be42eec2d980d8 (patch) | |
tree | 35060f4dd8f651165062c14be38172de77f7e2e8 /tests/scanner/annotationparser/Makefile.am | |
parent | 42bb69a6a2f12165a9758b192e80da089e00ab5c (diff) | |
download | gobject-introspection-f27aff293b8f811dbea6311d06be42eec2d980d8.tar.gz |
tests: Use Python unittest module parameterization for annotationparser
Add Python unittest module parameterization support to gi-tester through the
use of a "TESTARGS" variable. Use the Automake test harness along with
gi-tester for running the Python annotationparser tests.
Add tests/scanner/annotationparser/Makefile.am and localize testing
rules and EXTRA_DIST setup to this file. Specific Python tests can now be
run as follows:
cd tests/scanner/annotationparser
make check TESTS=test_patterns.py TESTARGS=TestTagValueStability
https://bugzilla.gnome.org/show_bug.cgi?id=720713
Diffstat (limited to 'tests/scanner/annotationparser/Makefile.am')
-rw-r--r-- | tests/scanner/annotationparser/Makefile.am | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/tests/scanner/annotationparser/Makefile.am b/tests/scanner/annotationparser/Makefile.am new file mode 100644 index 00000000..1a65125c --- /dev/null +++ b/tests/scanner/annotationparser/Makefile.am @@ -0,0 +1,68 @@ +include $(top_srcdir)/common.mk + +TESTS = \ + test_parser.py \ + test_patterns.py + +TESTS_ENVIRONMENT = builddir=$(builddir) top_builddir=$(top_builddir) srcdir=$(srcdir) top_srcdir=$(top_srcdir) \ + PYTHON=$(PYTHON) UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \ + $(top_srcdir)/tests/gi-tester + +EXTRA_DIST = \ + $(TESTS) \ + README \ + tests.xsd \ + gi/annotation_allow_none.xml \ + gi/annotation_array.xml \ + gi/annotation_attributes.xml \ + gi/annotation_closure.xml \ + gi/annotation_constructor.xml \ + gi/annotation_destroy.xml \ + gi/annotation_element_type.xml \ + gi/annotation_foreign.xml \ + gi/annotation_get_value_func.xml \ + gi/annotation_in.xml \ + gi/annotation_in_out.xml \ + gi/annotation_method.xml \ + gi/annotation_out.xml \ + gi/annotation_ref_func.xml \ + gi/annotation_rename_to.xml \ + gi/annotation_scope.xml \ + gi/annotation_set_value_func.xml \ + gi/annotation_skip.xml \ + gi/annotation_transfer.xml \ + gi/annotation_type.xml \ + gi/annotation_unref_func.xml \ + gi/annotation_value.xml \ + gi/annotation_virtual.xml \ + gi/annotations.xml \ + gi/identifier.xml \ + gi/identifier_section.xml \ + gi/identifier_symbol.xml \ + gi/parameter.xml \ + gi/parameter_varargs.xml \ + gi/syntax.xml \ + gi/syntax_indentation.xml \ + gi/syntax_multiline_annotations.xml \ + gi/syntax_nested_tags.xml \ + gi/syntax_paragraph_breaks.xml \ + gi/syntax_whitespace.xml \ + gi/tag.xml \ + gi/tag_deprecated.xml \ + gi/tag_description.xml \ + gi/tag_returns.xml \ + gi/tag_since.xml \ + gi/tag_stability.xml \ + gtkdoc/gobject/gtypes.h.xml \ + gtkdoc/gobject/gtypes.c.xml \ + gtkdoc/gobject/giface.h.xml \ + gtkdoc/gobject/giface.c.xml \ + gtkdoc/fail/tester.h.xml \ + gtkdoc/fail/tester.c.xml \ + gtkdoc/empty/tester.c.xml \ + gtkdoc/bugs/tester.h.xml \ + gtkdoc/bugs/tester.c.xml \ + gtkdoc/annotations/tester.h.xml \ + gtkdoc/annotations/tester.c.xml \ + gtkdoc/gobject/gobject.h.xml \ + gtkdoc/gobject/gobject.c.xml |