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/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/Makefile.am')
-rw-r--r-- | tests/scanner/Makefile.am | 60 |
1 files changed, 2 insertions, 58 deletions
diff --git a/tests/scanner/Makefile.am b/tests/scanner/Makefile.am index 2a9c51c1..a3f9a277 100644 --- a/tests/scanner/Makefile.am +++ b/tests/scanner/Makefile.am @@ -3,6 +3,8 @@ NULL ?= include $(top_srcdir)/common.mk include $(top_srcdir)/Makefile.introspection +SUBDIRS = . annotationparser + INTROSPECTION_SCANNER_ARGS += --warn-all CLEANFILES = @@ -185,64 +187,6 @@ TESTS_ENVIRONMENT = srcdir=$(srcdir) top_srcdir=$(top_srcdir) builddir=$(builddi $(top_srcdir)/tests/gi-tester EXTRA_DIST += \ - annotationparser/README \ - annotationparser/test_parser.py \ - annotationparser/test_patterns.py \ - annotationparser/tests.xsd \ - annotationparser/gi/annotation_allow_none.xml \ - annotationparser/gi/annotation_array.xml \ - annotationparser/gi/annotation_attributes.xml \ - annotationparser/gi/annotation_closure.xml \ - annotationparser/gi/annotation_constructor.xml \ - annotationparser/gi/annotation_destroy.xml \ - annotationparser/gi/annotation_element_type.xml \ - annotationparser/gi/annotation_foreign.xml \ - annotationparser/gi/annotation_get_value_func.xml \ - annotationparser/gi/annotation_in.xml \ - annotationparser/gi/annotation_in_out.xml \ - annotationparser/gi/annotation_method.xml \ - annotationparser/gi/annotation_out.xml \ - annotationparser/gi/annotation_ref_func.xml \ - annotationparser/gi/annotation_rename_to.xml \ - annotationparser/gi/annotation_scope.xml \ - annotationparser/gi/annotation_set_value_func.xml \ - annotationparser/gi/annotation_skip.xml \ - annotationparser/gi/annotation_transfer.xml \ - annotationparser/gi/annotation_type.xml \ - annotationparser/gi/annotation_unref_func.xml \ - annotationparser/gi/annotation_value.xml \ - annotationparser/gi/annotation_virtual.xml \ - annotationparser/gi/annotations.xml \ - annotationparser/gi/identifier.xml \ - annotationparser/gi/identifier_section.xml \ - annotationparser/gi/identifier_symbol.xml \ - annotationparser/gi/parameter.xml \ - annotationparser/gi/parameter_varargs.xml \ - annotationparser/gi/syntax.xml \ - annotationparser/gi/syntax_indentation.xml \ - annotationparser/gi/syntax_multiline_annotations.xml \ - annotationparser/gi/syntax_nested_tags.xml \ - annotationparser/gi/syntax_paragraph_breaks.xml \ - annotationparser/gi/syntax_whitespace.xml \ - annotationparser/gi/tag.xml \ - annotationparser/gi/tag_deprecated.xml \ - annotationparser/gi/tag_description.xml \ - annotationparser/gi/tag_returns.xml \ - annotationparser/gi/tag_since.xml \ - annotationparser/gi/tag_stability.xml \ - annotationparser/gtkdoc/gobject/gtypes.h.xml \ - annotationparser/gtkdoc/gobject/gtypes.c.xml \ - annotationparser/gtkdoc/gobject/giface.h.xml \ - annotationparser/gtkdoc/gobject/giface.c.xml \ - annotationparser/gtkdoc/fail/tester.h.xml \ - annotationparser/gtkdoc/fail/tester.c.xml \ - annotationparser/gtkdoc/empty/tester.c.xml \ - annotationparser/gtkdoc/bugs/tester.h.xml \ - annotationparser/gtkdoc/bugs/tester.c.xml \ - annotationparser/gtkdoc/annotations/tester.h.xml \ - annotationparser/gtkdoc/annotations/tester.c.xml \ - annotationparser/gtkdoc/gobject/gobject.h.xml \ - annotationparser/gtkdoc/gobject/gobject.c.xml \ Regress-1.0-C-expected \ Regress-1.0-Gjs-expected \ Regress-1.0-Python-expected \ |