summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2019-03-11 19:14:38 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2019-03-11 19:21:45 +0100
commitd2af7d20850bb65cd2014d43b88b689f2eed996e (patch)
tree6b0d9b3cf4826f69d8734ea4cfc6dd36058ade59 /tests
parent72c670cebf938868ae2a4d71b990cea0f0b7a114 (diff)
downloadgobject-introspection-d2af7d20850bb65cd2014d43b88b689f2eed996e.tar.gz
Drop autotools build system
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am82
-rw-r--r--tests/offsets/Makefile.am56
-rw-r--r--tests/repository/Makefile.am30
-rw-r--r--tests/scanner/Makefile.am258
-rw-r--r--tests/scanner/annotationparser/Makefile.am70
-rw-r--r--tests/warn/Makefile.am27
6 files changed, 0 insertions, 523 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
deleted file mode 100644
index 4bdb9c3b..00000000
--- a/tests/Makefile.am
+++ /dev/null
@@ -1,82 +0,0 @@
-include $(top_srcdir)/common.mk
-
-SUBDIRS = . scanner repository offsets warn
-
-EXTRA_DIST=
-BUILT_SOURCES=
-CLEANFILES=
-
-testsdir = $(datadir)/gobject-introspection-1.0/tests
-tests_DATA = \
- everything.c \
- everything.h \
- gimarshallingtests.c \
- gimarshallingtests.h \
- gitestmacros.h
-
-EXTRA_LTLIBRARIES = libeverything-1.0.la libgimarshallingtests-1.0.la
-
-libeverything_1_0_la_SOURCES = everything.c
-libeverything_1_0_la_CFLAGS = $(GOBJECT_CFLAGS) $(GI_HIDDEN_VISIBILITY_CFLAGS) $(WARN_CFLAGS) -I$(srcdir)
-libeverything_1_0_la_LDFLAGS = $(WARN_LDFLAGS)
-libeverything_1_0_la_LIBADD = $(GOBJECT_LIBS)
-
-libgimarshallingtests_1_0_la_SOURCES = gimarshallingtests.c
-libgimarshallingtests_1_0_la_CFLAGS = $(GOBJECT_CFLAGS) $(GI_HIDDEN_VISIBILITY_CFLAGS) $(WARN_CFLAGS) -I$(srcdir)
-libgimarshallingtests_1_0_la_LDFLAGS = $(WARN_LDFLAGS)
-libgimarshallingtests_1_0_la_LIBADD = $(GOBJECT_LIBS)
-
-EXTRA_DIST += \
- gimarshallingtests.h \
- gi-tester \
- gitestmacros.h \
- meson.build
-
-BUILT_SOURCES += everything.c everything.h
-
-CLEANFILES += \
- $(BUILT_SOURCES) \
- $(EXTRA_LTLIBRARIES) \
- everything-stamp.h \
- Everything-1.0.gir \
- Everything-1.0.typelib \
- GIMarshallingTests-1.0.gir \
- GIMarshallingTests-1.0.typelib
-
-everything-stamp.h: Makefile
- $(AM_V_GEN) $(INTROSPECTION_SCANNER) $(INTROSPECTION_SCANNER_ARGS) \
- --generate-typelib-tests=Everything,everything.h,everything.c \
- --function-decoration=_GI_TEST_EXTERN \
- --include-first-in-src=config.h \
- --include-last-in-header=gitestmacros.h
- touch $@
-
-everything.c: everything-stamp.h
- @true
-
-everything.h: everything-stamp.h
- @true
-
-Everything-1.0.gir: libeverything-1.0.la Makefile
- $(AM_V_GEN) $(INTROSPECTION_SCANNER) $(INTROSPECTION_SCANNER_ARGS) --warn-all --warn-error --reparse-validate \
- --namespace=Everything --nsversion=1.0 \
- --libtool="$(LIBTOOL)" \
- --add-include-path=$(top_builddir) --include=Gio-2.0 \
- --library=libeverything-1.0.la --output=$@ \
- -I$(srcdir) \
- everything.h everything.c
-
-GIMarshallingTests-1.0.gir: libgimarshallingtests-1.0.la Makefile
- $(AM_V_GEN) $(INTROSPECTION_SCANNER) $(INTROSPECTION_SCANNER_ARGS) --warn-all --warn-error --reparse-validate \
- --namespace=GIMarshallingTests --symbol-prefix=gi_marshalling_tests --nsversion=1.0 \
- --libtool="$(LIBTOOL)" \
- --add-include-path=$(top_builddir) --include=Gio-2.0 \
- --library=libgimarshallingtests-1.0.la --output=$@ \
- --c-include="tests/gimarshallingtests.h" \
- $(srcdir)/gimarshallingtests.h $(srcdir)/gimarshallingtests.c
-
-%.typelib: %.gir
- $(AM_V_GEN) $(INTROSPECTION_COMPILER) $(INTROSPECTION_COMPILER_ARGS) $< -o $@
-
-TESTS=Everything-1.0.typelib GIMarshallingTests-1.0.typelib
-LOG_COMPILER=$(PYTHON) $(srcdir)/gi-tester
diff --git a/tests/offsets/Makefile.am b/tests/offsets/Makefile.am
deleted file mode 100644
index 9ce1d013..00000000
--- a/tests/offsets/Makefile.am
+++ /dev/null
@@ -1,56 +0,0 @@
-include $(top_srcdir)/common.mk
-include $(top_srcdir)/Makefile.introspection
-
-BUILT_SOURCES =
-CLEANFILES =
-EXTRA_DIST =
-INTROSPECTION_GIRS =
-
-EXTRA_LTLIBRARIES =
-EXTRA_PROGRAMS =
-
-############################################################
-
-EXTRA_LTLIBRARIES += liboffsets.la
-
-liboffsets_la_SOURCES = \
- offsets.h \
- offsets.c
-liboffsets_la_CPPFLAGS = $(GIREPO_CFLAGS) $(GI_HIDDEN_VISIBILITY_CFLAGS) -I$(top_srcdir)/tests
-liboffsets_la_CFLAGS = $(WARN_CFLAGS)
-# dummy rpath to get built dynamically (huh?)
-liboffsets_la_LDFLAGS = $(WARN_LDFLAGS) -avoid-version -rpath $(libdir)
-
-Offsets-1.0.gir: liboffsets.la offsets.h
-Offsets_1_0_gir_INCLUDES = GObject-2.0
-Offsets_1_0_gir_LIBS = liboffsets.la
-Offsets_1_0_gir_PACKAGES = gobject-2.0
-Offsets_1_0_gir_FILES = offsets.h offsets.c
-Offsets_1_0_gir_SCANNERFLAGS = $(INTROSPECTION_SCANNER_ARGS) --warn-all --warn-error -I$(top_srcdir)/tests
-INTROSPECTION_GIRS += Offsets-1.0.gir
-
-CLEANFILES += Offsets-1.0.gir Offsets-1.0.typelib liboffsets.la
-
-############################################################
-
-EXTRA_PROGRAMS += gitestoffsets
-
-gitestoffsets_SOURCES = gitestoffsets.c
-gitestoffsets_CPPFLAGS = $(GIREPO_CFLAGS) -I$(top_srcdir)/girepository -I$(top_builddir)/girepository -I$(top_srcdir)/tests
-gitestoffsets_CFLAGS = $(WARN_CFLAGS)
-gitestoffsets_LDFLAGS = $(WARN_LDFLAGS)
-gitestoffsets_LDADD = $(top_builddir)/libgirepository-1.0.la $(GIREPO_LIBS)
-EXTRA_gitestoffsets_DEPENDENCIES = Offsets-1.0.typelib
-
-EXTRA_DIST += \
- test_offsets.py \
- meson.build
-CLEANFILES += $(EXTRA_PROGRAMS)
-
-############################################################
-
-# The trailing "echo" in LOG_COMPILER is used to ignore automake passing
-# gitestoffsets as we already run this in the same command line.
-TESTS = gitestoffsets
-TESTS_ENVIRONMENT = env top_builddir=$(top_builddir) builddir=$(builddir)
-LOG_COMPILER = $(PYTHON) $(srcdir)/test_offsets.py && echo
diff --git a/tests/repository/Makefile.am b/tests/repository/Makefile.am
deleted file mode 100644
index 6b26107a..00000000
--- a/tests/repository/Makefile.am
+++ /dev/null
@@ -1,30 +0,0 @@
-AM_CFLAGS = $(WARN_CFLAGS) $(GOBJECT_CFLAGS)
-AM_LDFLAGS = $(WARN_LDFLAGS) -module -avoid-version
-LIBS = $(GOBJECT_LIBS)
-
-EXTRA_PROGRAMS = gitestrepo giteststructinfo gitestthrows gitypelibtest
-CLEANFILES = $(EXTRA_PROGRAMS)
-EXTRA_DIST = meson.build
-
-gitestrepo_SOURCES = gitestrepo.c
-gitestrepo_CPPFLAGS = $(GIREPO_CFLAGS) -I$(top_srcdir)/girepository -I$(top_builddir)/girepository
-gitestrepo_LDADD = $(top_builddir)/libgirepository-1.0.la $(GIREPO_LIBS)
-
-giteststructinfo_SOURCES = giteststructinfo.c
-giteststructinfo_CPPFLAGS = $(GIREPO_CFLAGS) -I$(top_srcdir)/girepository -I$(top_builddir)/girepository
-giteststructinfo_LDADD = $(top_builddir)/libgirepository-1.0.la $(GIREPO_LIBS)
-
-gitestthrows_SOURCES = gitestthrows.c
-gitestthrows_CPPFLAGS = $(GIREPO_CFLAGS) -I$(top_srcdir)/girepository -I$(top_builddir)/girepository
-gitestthrows_LDADD = $(top_builddir)/libgirepository-1.0.la $(GIREPO_LIBS)
-
-gitypelibtest_SOURCES = gitypelibtest.c
-gitypelibtest_CPPFLAGS = $(GIREPO_CFLAGS) -I$(top_srcdir)/girepository -I$(top_builddir)/girepository
-gitypelibtest_LDADD = $(top_builddir)/libgirepository-1.0.la $(GIREPO_LIBS)
-
-TESTS = gitestrepo giteststructinfo gitestthrows gitypelibtest
-TESTS_ENVIRONMENT=env GI_TYPELIB_PATH="$(top_builddir):$(top_builddir)/gir:$(top_builddir)/tests:$(top_builddir)/tests/scanner" \
- PATH="$(top_builddir)/tests/scanner/.libs:$(PATH)" \
- CC="$(CC)" \
- LD_LIBRARY_PATH="$(top_builddir)/tests/scanner/.libs:$(LD_LIBRARY_PATH)" \
- $(DEBUG)
diff --git a/tests/scanner/Makefile.am b/tests/scanner/Makefile.am
deleted file mode 100644
index fccbd352..00000000
--- a/tests/scanner/Makefile.am
+++ /dev/null
@@ -1,258 +0,0 @@
-NULL ?=
-
-include $(top_srcdir)/common.mk
-include $(top_srcdir)/Makefile.introspection
-
-SUBDIRS = . annotationparser
-
-INTROSPECTION_SCANNER_ARGS += --warn-all --reparse-validate
-
-CLEANFILES =
-
-EXTRA_LTLIBRARIES = \
- libsletter.la \
- libutility.la \
- libgtkfrob.la \
- libgettype.la \
- libregress.la \
- libwarnlib.la \
- libtypedefs.la \
- $(NULL)
-CLEANFILES += $(EXTRA_LTLIBRARIES)
-
-GI_SCANNER_CFLAGS = -I$(top_srcdir)/tests
-AM_CPPFLAGS = -I$(top_srcdir)/girepository -I$(top_builddir)/girepository
-AM_CFLAGS = $(GIO_CFLAGS) $(GOBJECT_CFLAGS) $(GTHREAD_CFLAGS) $(GI_HIDDEN_VISIBILITY_CFLAGS) $(GI_SCANNER_CFLAGS) $(WARN_CFLAGS)
-# -rpath needed to force libtool to build a shared library for a check_LTLIBRARIES
-# target. See http://lists.gnu.org/archive/html/automake/2005-10/msg00107.html
-AM_LDFLAGS = $(WARN_LDFLAGS) -rpath /unused -avoid-version
-LIBS = $(GOBJECT_LIBS) $(GTHREAD_LIBS)
-
-libsletter_la_SOURCES = sletter.c sletter.h
-libsletter_la_LIBADD = $(GIO_LIBS)
-libsletter_la_CFLAGS = $(AM_CFLAGS)
-libsletter_la_LDFLAGS = $(AM_LDFLAGS)
-
-libutility_la_SOURCES = utility.c utility.h
-libgtkfrob_la_SOURCES = gtkfrob.c gtkfrob.h
-libregress_la_SOURCES = \
- regress.c regress.h \
- annotation.c annotation.h \
- foo.c foo.h \
- drawable.c 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)\" \
- -DREGRESS_SOME_CHAR=\'c\'
-libregress_la_LIBADD = $(GIO_LIBS)
-if HAVE_CAIRO
-libregress_la_LIBADD += $(CAIRO_LIBS)
-endif
-libwarnlib_la_CFLAGS = $(AM_CFLAGS)
-libwarnlib_la_SOURCES = warnlib.c warnlib.h
-libwarnlib_la_LIBADD = $(GIO_LIBS)
-libwarnlib_la_LDFLAGS = -export-symbols-regex '^warnlib_' -no-undefined
-libgettype_la_SOURCES = gettype.c gettype.h
-libtypedefs_la_SOURCES = typedefs.c typedefs.h
-
-testsdir = $(datadir)/gobject-introspection-1.0/tests
-tests_DATA = $(libregress_la_SOURCES) $(libwarnlib_la_SOURCES) $(libutility_la_SOURCES)
-
-if !HAVE_CAIRO
-libregress_la_CPPFLAGS += -D_GI_DISABLE_CAIRO
-endif
-libregress_la_CFLAGS = $(AM_CFLAGS)
-if HAVE_CAIRO
-libregress_la_CFLAGS += $(CAIRO_CFLAGS)
-endif
-libregress_la_LDFLAGS = $(AM_LDFLAGS)
-
-
-if OS_WIN32
-AM_LDFLAGS += -no-undefined
-endif
-
-# .gir --[scanner]-> .typelib
-GIRS =
-TYPELIBS = $(GIRS:.gir=.typelib)
-CHECKGIRS = $(GIRS)
-EXPECTEDGIRS = $(GIRS:.gir=-expected.gir)
-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_CFLAGS = $(GI_SCANNER_CFLAGS)
-SLetter_1_0_gir_INCLUDES = Gio-2.0
-SLetter_1_0_gir_FILES = $(libsletter_la_SOURCES)
-SLetter_1_0_gir_SCANNERFLAGS = $(INTROSPECTION_SCANNER_ARGS) --identifier-prefix=S --c-include="sletter.h" --warn-error
-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 = $(GI_SCANNER_CFLAGS)
-if !HAVE_CAIRO
-Regress_1_0_gir_CFLAGS += -D_GI_DISABLE_CAIRO
-endif
-Regress_1_0_gir_INCLUDES = Gio-2.0 Utility-1.0
-if HAVE_CAIRO
-Regress_1_0_gir_INCLUDES += cairo-1.0
-endif
-Regress_1_0_gir_FILES = $(libregress_la_SOURCES)
-Regress_1_0_gir_SCANNERFLAGS = $(INTROSPECTION_SCANNER_ARGS) --c-include="regress.h" --warn-error
-GIRS += Regress-1.0.gir
-
-WarnLib-1.0.gir: $(top_builddir)/Gio-2.0.gir libwarnlib.la
-WarnLib_1_0_gir_LIBS = libwarnlib.la
-WarnLib_1_0_gir_CFLAGS = $(GI_SCANNER_CFLAGS)
-WarnLib_1_0_gir_INCLUDES = Gio-2.0
-WarnLib_1_0_gir_FILES = $(libwarnlib_la_SOURCES)
-WarnLib_1_0_gir_SCANNERFLAGS = $(INTROSPECTION_SCANNER_ARGS) --c-include="warnlib.h" --symbol-prefix=warnlib_
-GIRS += WarnLib-1.0.gir
-
-Utility-1.0.gir: libutility.la
-Utility_1_0_gir_PACKAGES = gobject-2.0
-Utility_1_0_gir_LIBS = libutility.la
-Utility_1_0_gir_CFLAGS = $(GI_SCANNER_CFLAGS)
-Utility_1_0_gir_INCLUDES = GObject-2.0
-Utility_1_0_gir_FILES = $(libutility_la_SOURCES)
-Utility_1_0_gir_SCANNERFLAGS = $(INTROSPECTION_SCANNER_ARGS) --c-include="utility.h" --warn-error
-GIRS += Utility-1.0.gir
-
-# This one tests different --namespace and --strip-prefix
-GtkFrob-1.0.gir: libgtkfrob.la
-GtkFrob_1_0_gir_PACKAGES = gobject-2.0
-GtkFrob_1_0_gir_LIBS = libgtkfrob.la
-GtkFrob_1_0_gir_CFLAGS = $(GI_SCANNER_CFLAGS)
-GtkFrob_1_0_gir_INCLUDES = GObject-2.0
-GtkFrob_1_0_gir_FILES = $(libgtkfrob_la_SOURCES)
-GtkFrob_1_0_gir_SCANNERFLAGS = $(INTROSPECTION_SCANNER_ARGS) --identifier-prefix=Gtk --symbol-prefix=gtk_frob --warn-error
-GIRS += GtkFrob-1.0.gir
-
-# This tests that functions called _get_type are only matched if they have no
-# arguments and return GType
-GetType-1.0.gir: libgettype.la
-GetType_1_0_gir_PACKAGES = gobject-2.0
-GetType_1_0_gir_LIBS = libgettype.la
-GetType_1_0_gir_CFLAGS = $(GI_SCANNER_CFLAGS)
-GetType_1_0_gir_INCLUDES = GObject-2.0
-GetType_1_0_gir_FILES = $(libgettype_la_SOURCES)
-GetType_1_0_gir_SCANNERFLAGS = $(INTROSPECTION_SCANNER_ARGS) --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_CFLAGS = $(GI_SCANNER_CFLAGS)
-Typedefs_1_0_gir_INCLUDES = GObject-2.0
-Typedefs_1_0_gir_FILES = $(libtypedefs_la_SOURCES)
-Typedefs_1_0_gir_SCANNERFLAGS = $(INTROSPECTION_SCANNER_ARGS) --c-include="typedefs.h" --identifier-prefix=Typedefs --symbol-prefix=typedefs
-GIRS += Typedefs-1.0.gir
-
-if !OS_WIN32
-EXTRA_PROGRAMS = barapp
-CLEANFILES += $(EXTRA_PROGRAMS)
-
-barapp_SOURCES = barapp.c barapp.h
-barapp_LDADD = $(top_builddir)/libgirepository-1.0.la
-barapp_LDFLAGS = -export-dynamic
-
-Bar-1.0.gir: barapp
-Bar_1_0_gir_PACKAGES = gobject-2.0
-Bar_1_0_gir_PROGRAM = ./barapp
-Bar_1_0_gir_CFLAGS = $(GI_SCANNER_CFLAGS)
-Bar_1_0_gir_INCLUDES = GObject-2.0
-Bar_1_0_gir_FILES = $(barapp_SOURCES)
-Bar_1_0_gir_SCANNERFLAGS = $(INTROSPECTION_SCANNER_ARGS) --accept-unprefixed
-GIRS += Bar-1.0.gir
-endif
-
-EXTRA_DIST += \
- headeronly.h \
- Headeronly-1.0-expected.gir
-CLEANFILES += Headeronly-1.0.gir
-CHECKGIRS += Headeronly-1.0.gir
-
-Headeronly-1.0.gir: headeronly.h
- $(AM_V_GEN) $(INTROSPECTION_SCANNER) $(INTROSPECTION_SCANNER_ARGS) --warn-all --warn-error --reparse-validate --namespace=Headeronly --nsversion=1.0 --header-only --output=$@ $<
-
-EXTRA_DIST += \
- identfilter.py \
- identfilter.h \
- Identfilter-1.0-expected.gir
-CLEANFILES += Identfilter-1.0.gir
-CHECKGIRS += Identfilter-1.0.gir
-
-Identfilter-1.0.gir: identfilter.h
- $(AM_V_GEN) $(INTROSPECTION_SCANNER) $(INTROSPECTION_SCANNER_ARGS) \
- --namespace=Identfilter --accept-unprefixed --nsversion=1.0 --header-only \
- --identifier-filter-cmd="$(PYTHON) $(srcdir)/identfilter.py" \
- --output=$@ $<
-
-EXTRA_DIST += \
- symbolfilter.py \
- symbolfilter.h \
- Symbolfilter-1.0-expected.gir
-CLEANFILES += Symbolfilter-1.0.gir
-CHECKGIRS += Symbolfilter-1.0.gir
-
-Symbolfilter-1.0.gir: symbolfilter.h
- $(AM_V_GEN) $(INTROSPECTION_SCANNER) $(INTROSPECTION_SCANNER_ARGS) \
- --warn-all --reparse-validate \
- --namespace=Symbolfilter --accept-unprefixed --nsversion=1.0 --header-only \
- --symbol-filter-cmd="$(PYTHON) $(srcdir)/symbolfilter.py" \
- --output=$@ $<
-
-if BUILD_DOCTOOL
-DOCGIRS = Regress-1.0.gir
-CHECKDOCS = $(DOCGIRS:.gir=-C) $(DOCGIRS:.gir=-Python) $(DOCGIRS:.gir=-Gjs) $(DOCGIRS:.gir=-sections.txt)
-MALLARD_DIRS = $(DOCGIRS:.gir=-C) $(DOCGIRS:.gir=-Python) $(DOCGIRS:.gir=-Gjs)
-MALLARD_CLEAN = $(DOCGIRS:.gir=-C)/* $(DOCGIRS:.gir=-Python)/* $(DOCGIRS:.gir=-Gjs)/* $(DOCGIRS:.gir=-sections.txt)
-EXPECTED_MALLARD_DIRS = $(MALLARD_DIRS:=-expected)
-CLEANFILES += $(MALLARD_CLEAN)
-
-%-C: %.gir
- $(AM_V_GEN)rm -rf $(builddir)/$*-C
- $(AM_V_at)$(INTROSPECTION_DOCTOOL) $(INTROSPECTION_DOCTOOL_ARGS) --language C $*.gir -o $(builddir)/$*-C/
-
-%-Python: %.gir
- $(AM_V_GEN)rm -rf $(builddir)/$*-Python
- $(AM_V_at)$(INTROSPECTION_DOCTOOL) $(INTROSPECTION_DOCTOOL_ARGS) --language Python $*.gir -o $(builddir)/$*-Python/
-
-%-Gjs: %.gir
- $(AM_V_GEN)rm -rf $(builddir)/$*-Gjs
- $(AM_V_at)$(INTROSPECTION_DOCTOOL) $(INTROSPECTION_DOCTOOL_ARGS) --language Gjs $*.gir -o $(builddir)/$*-Gjs/
-
-%-sections.txt: %.gir
- $(AM_V_GEN)$(INTROSPECTION_DOCTOOL) $(INTROSPECTION_DOCTOOL_ARGS) --write-sections-file $*.gir -o $@
-
-else
-CHECKDOCS =
-endif
-
-PYTESTS = \
- test_ccompiler.py \
- test_shlibs.py \
- test_pkgconfig.py \
- test_sourcescanner.py \
- test_transformer.py \
- test_xmlwriter.py \
- test_docwriter.py \
- test_scanner.py \
- test_maintransformer.py
-
-TESTS = $(CHECKGIRS) $(CHECKDOCS) $(TYPELIBS) $(PYTESTS)
-TESTS_ENVIRONMENT = env srcdir=$(srcdir) top_srcdir=$(top_srcdir) builddir=$(builddir) top_builddir=$(top_builddir) \
- CC="$(CC)" \
- PYTHON=$(PYTHON) UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir)
-LOG_COMPILER = $(PYTHON) $(top_srcdir)/tests/gi-tester
-
-EXTRA_DIST += \
- meson.build \
- $(PYTESTS) \
- Regress-1.0-C-expected \
- Regress-1.0-Gjs-expected \
- Regress-1.0-Python-expected \
- Regress-1.0-sections-expected.txt \
- $(NULL)
diff --git a/tests/scanner/annotationparser/Makefile.am b/tests/scanner/annotationparser/Makefile.am
deleted file mode 100644
index fba28ff6..00000000
--- a/tests/scanner/annotationparser/Makefile.am
+++ /dev/null
@@ -1,70 +0,0 @@
-include $(top_srcdir)/common.mk
-
-TESTS = \
- test_parser.py \
- test_patterns.py
-
-TESTS_ENVIRONMENT = env builddir=$(builddir) top_builddir=$(top_builddir) srcdir=$(srcdir) top_srcdir=$(top_srcdir) \
- PYTHON=$(PYTHON) UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir)
-LOG_COMPILER = $(PYTHON) $(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_not_nullable.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 \
- meson.build
diff --git a/tests/warn/Makefile.am b/tests/warn/Makefile.am
deleted file mode 100644
index 7cdcc007..00000000
--- a/tests/warn/Makefile.am
+++ /dev/null
@@ -1,27 +0,0 @@
-include $(top_srcdir)/common.mk
-
-TESTS = \
- annotationparser.h \
- callback-invalid-scope.h \
- callback-missing-scope.h \
- invalid-allow-none.h \
- invalid-array.h \
- invalid-closure.h \
- invalid-constructor.h \
- invalid-element-type.h \
- invalid-method.h \
- invalid-nullable.h \
- invalid-option.h \
- invalid-optional.h \
- invalid-out.h \
- invalid-return.h \
- invalid-transfer.h \
- missing-element-type.h \
- return-gobject.h \
- unknown-parameter.h \
- unresolved-type.h
-
-LOG_COMPILER = env PYTHONPATH=$(top_builddir):$(top_srcdir) TOP_BUILDDIR=$(top_builddir) UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
- $(PYTHON) $(srcdir)/warningtester.py
-
-EXTRA_DIST = warningtester.py common.h meson.build $(TESTS)