From eadd10dbdd5b9b6b0488aeb41d4bf1592ba9d5d2 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Mon, 5 Aug 2019 15:10:41 -0700 Subject: build: remove autotools --- tests/Makefile.am | 86 ---------------------- tests/Makefile.plugin | 23 ------ tests/Makefile.tests | 67 ----------------- tests/libpeas-gtk/Makefile.am | 30 -------- tests/libpeas-gtk/plugins/Makefile.am | 11 --- .../plugins/builtin-configurable/Makefile.am | 25 ------- tests/libpeas-gtk/plugins/configurable/Makefile.am | 25 ------- .../plugins/valid-custom-icon/Makefile.am | 6 -- tests/libpeas-gtk/testing/Makefile.am | 24 ------ tests/libpeas/Makefile.am | 49 ------------ tests/libpeas/introspection/Makefile.am | 51 ------------- tests/libpeas/plugins/Makefile.am | 31 -------- tests/libpeas/plugins/embedded/Makefile.am | 55 -------------- tests/libpeas/plugins/extension-c/Makefile.am | 37 ---------- tests/libpeas/plugins/extension-lua/Makefile.am | 8 -- tests/libpeas/plugins/extension-python/Makefile.am | 31 -------- tests/libpeas/testing/Makefile.am | 27 ------- tests/plugins/Makefile.am | 14 ---- tests/plugins/builtin/Makefile.am | 22 ------ tests/plugins/has-dep/Makefile.am | 22 ------ tests/plugins/loadable/Makefile.am | 22 ------ tests/plugins/self-dep/Makefile.am | 22 ------ tests/testing-util/Makefile.am | 21 ------ 23 files changed, 709 deletions(-) delete mode 100644 tests/Makefile.am delete mode 100644 tests/Makefile.plugin delete mode 100644 tests/Makefile.tests delete mode 100644 tests/libpeas-gtk/Makefile.am delete mode 100644 tests/libpeas-gtk/plugins/Makefile.am delete mode 100644 tests/libpeas-gtk/plugins/builtin-configurable/Makefile.am delete mode 100644 tests/libpeas-gtk/plugins/configurable/Makefile.am delete mode 100644 tests/libpeas-gtk/plugins/valid-custom-icon/Makefile.am delete mode 100644 tests/libpeas-gtk/testing/Makefile.am delete mode 100644 tests/libpeas/Makefile.am delete mode 100644 tests/libpeas/introspection/Makefile.am delete mode 100644 tests/libpeas/plugins/Makefile.am delete mode 100644 tests/libpeas/plugins/embedded/Makefile.am delete mode 100644 tests/libpeas/plugins/extension-c/Makefile.am delete mode 100644 tests/libpeas/plugins/extension-lua/Makefile.am delete mode 100644 tests/libpeas/plugins/extension-python/Makefile.am delete mode 100644 tests/libpeas/testing/Makefile.am delete mode 100644 tests/plugins/Makefile.am delete mode 100644 tests/plugins/builtin/Makefile.am delete mode 100644 tests/plugins/has-dep/Makefile.am delete mode 100644 tests/plugins/loadable/Makefile.am delete mode 100644 tests/plugins/self-dep/Makefile.am delete mode 100644 tests/testing-util/Makefile.am (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am deleted file mode 100644 index 6eb1940..0000000 --- a/tests/Makefile.am +++ /dev/null @@ -1,86 +0,0 @@ -GTESTER_REPORT = gtester-report - -SUBDIRS = plugins testing-util libpeas - -if ENABLE_GTK -SUBDIRS += libpeas-gtk -endif - -test test-gdb test-valgrind test-callgrind: all - @for subdir in $(SUBDIRS) ; do \ - test "$$subdir" = "plugins" -o "$$subdir" = "testing-util" || \ - ( cd $$subdir && \ - if ! $(MAKE) $(AM_MAKEFLAGS) -n run-test-hook 2>/dev/null 1>&2 ; then \ - $(MAKE) $(AM_MAKEFLAGS) $(@) ; \ - elif $(MAKE) $(AM_MAKEFLAGS) run-test-hook 2>/dev/null 1>&2 ; then \ - $(MAKE) $(AM_MAKEFLAGS) $(@) ; \ - else \ - true ; \ - fi \ - ) || exit 1 ; \ - done - -# test-report: run tests and generate report -# perf-report: run tests with -m perf and generate report -# full-report: run tests with -m perf -m slow and generate report -test-report perf-report full-report: all - @export GTESTER_LOGDIR=`mktemp -d "$(abs_builddir)/.testlogs-XXXXXX"` ; \ - if test -d "$(top_srcdir)/.git" ; then \ - export REVISION="`git --git-dir='$(top_srcdir)/.git' describe`" ; \ - else \ - export REVISION="$(VERSION)" ; \ - fi ; \ - export TIMESTAMP=`date +%Y-%m-%dT%H:%M:%S%z` ; \ - case $@ in \ - test-report) test_options="-k";; \ - perf-report) test_options="-k -m=perf";; \ - full-report) test_options="-k -m=perf -m=slow";; \ - esac ; \ - echo '' > $@.xml ; \ - echo '' >> $@.xml ; \ - echo '' >> $@.xml ; \ - echo ' $(PACKAGE)' >> $@.xml ; \ - echo ' $(VERSION)' >> $@.xml ; \ - echo " $$REVISION" >> $@.xml ; \ - echo " $$TIMESTAMP" >> $@.xml ; \ - echo '' >> $@.xml ; \ - for subdir in $(SUBDIRS) ; do \ - test "$$subdir" = "plugins" -o "$$subdir" = "testing-util" || { \ - export GTESTER_LOG=`mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ; \ - export GTESTER_ARGS="--verbose $$test_options -o $$GTESTER_LOG" ; \ - ( cd $$subdir && \ - if ! $(MAKE) $(AM_MAKEFLAGS) -n run-test-hook 2>/dev/null 1>&2 ; then \ - $(MAKE) $(AM_MAKEFLAGS) generate-report ; \ - elif $(MAKE) $(AM_MAKEFLAGS) run-test-hook 2>/dev/null 1>&2 ; then \ - $(MAKE) $(AM_MAKEFLAGS) generate-report ; \ - else \ - false ; \ - fi \ - ) ; sed '1,1s/^?]*?>//' <"$$GTESTER_LOG" >> $@.xml ; \ - } \ - done ; \ - echo >> $@.xml ; \ - echo '' >> $@.xml ; \ - $(GTESTER_REPORT) --version 2>/dev/null 1>&2 ; test "$$?" != 0 || \ - ( $(GTESTER_REPORT) $@.xml >$@.html && \ - echo " file://$(abs_top_builddir)/tests/$@.html" \ - ) ; \ - rm -rf "$$GTESTER_LOGDIR" ; - -.PHONY: test test-gdb test-valgrind test-callgrind \ - test-report perf-report full-report - -check-local: test - - -HTML_REPORTS = \ - test-report.html \ - perf-report.html \ - full-report.html - -XML_REPORTS = \ - test-report.xml \ - perf-report.xml \ - full-report.xml - -CLEANFILES = $(HTML_REPORTS) $(XML_REPORTS) diff --git a/tests/Makefile.plugin b/tests/Makefile.plugin deleted file mode 100644 index 34ef986..0000000 --- a/tests/Makefile.plugin +++ /dev/null @@ -1,23 +0,0 @@ -# Because some files are needed by plugins -# in the buildir like .plugin files this -# copies them to the builddir if they don't -# exist so that make distcheck works. -all-local: - @test -z "$(noinst_PLUGIN)" || \ - for plugin in $(noinst_PLUGIN) ; do \ - if test -e $(srcdir)/$$plugin ; then \ - if ! test -e $(builddir)/$$plugin ; then \ - cp -p $(srcdir)/$$plugin $(builddir)/ ; \ - fi ; \ - fi ; \ - done - -clean-local: - @rm -f gschemas.compiled ; \ - test -z "$(noinst_PLUGIN)" || \ - test $(srcdir) = $(builddir) || \ - for plugin in $(noinst_PLUGIN) ; do \ - if test -e $(builddir)/$$plugin ; then \ - rm -f $(builddir)/$$plugin ; \ - fi ; \ - done diff --git a/tests/Makefile.tests b/tests/Makefile.tests deleted file mode 100644 index e4ee260..0000000 --- a/tests/Makefile.tests +++ /dev/null @@ -1,67 +0,0 @@ -GTESTER = gtester - -TEST_PROGS = - -test: all - @test -z "$(TEST_PROGS)" || \ - G_SLICE=debug-blocks $(GTESTER) --verbose $(TEST_PROGS) - -if GDB_ENABLED - -test-gdb: all - @test -z "$(TEST_PROGS)" || \ - for test_prog in $(TEST_PROGS) ; do \ - G_SLICE=debug-blocks $(GTESTER) --verbose $$test_prog || { \ - G_SLICE=debug-blocks \ - libtool --mode=execute gdb --ex "run --verbose" $$test_prog ; \ - exit 1 ; \ - } \ - done - -else - -test-gdb: - @echo "You need GDB" - -endif # GDB_ENABLED - -if VALGRIND_ENABLED - -test-valgrind: all - @test -z "$(TEST_PROGS)" || \ - for test_prog in $(TEST_PROGS) ; do \ - if test -e valgrind-$${test_prog}.log; then \ - unlink valgrind-$${test_prog}.log; \ - fi ; \ - G_SLICE=always-malloc G_DEBUG=gc-friendly,resident-modules \ - libtool --mode=execute valgrind --leak-check=full \ - --leak-resolution=high --num-callers=20 \ - --suppressions=$(top_srcdir)/tests/valgrind.suppressions \ - --log-file=valgrind-$${test_prog}.log $$test_prog || exit 1 ; \ - done - -test-callgrind: all - @test -z "$(TEST_PROGS)" || \ - for test_prog in $(TEST_PROGS) ; do \ - if test -e callgrind-$${test_prog}.log; then \ - unlink callgrind-$${test_prog}.log; \ - fi ; \ - libtool --mode=execute valgrind --tool=callgrind \ - --callgrind-out-file=callgrind-$${test_prog}.log \ - --log-file=/dev/null $$test_prog || exit 1 ; \ - done - -else - -test-valgrind test-callgrind: - @echo "You need Valgrind" - -endif # VALGRIND_ENABLED - -generate-report: all - @test -z "$(TEST_PROGS)" || \ - G_SLICE=debug-blocks $(GTESTER) $(GTESTER_ARGS) $(TEST_PROGS) - -CLEANFILES = callgrind-*.log valgrind-*.log - -.PHONY: test test-gdb test-valgrind test-callgrind generate-report diff --git a/tests/libpeas-gtk/Makefile.am b/tests/libpeas-gtk/Makefile.am deleted file mode 100644 index 4f9b9af..0000000 --- a/tests/libpeas-gtk/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ -include $(top_srcdir)/tests/Makefile.tests - -SUBDIRS = plugins testing - -run-test-hook: - @test -n "$(DISPLAY)" - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(srcdir) \ - -I$(srcdir)/../testing-util \ - $(PEAS_CFLAGS) \ - $(PEAS_GTK_CFLAGS) \ - $(WARN_CFLAGS) \ - $(DISABLE_DEPRECATED) - -noinst_PROGRAMS = $(TEST_PROGS) - -LDADD = \ - $(PEAS_LIBS) \ - $(PEAS_GTK_LIBS) \ - $(top_builddir)/libpeas/libpeas-1.0.la \ - $(top_builddir)/libpeas-gtk/libpeas-gtk-1.0.la \ - ./testing/libtesting.la \ - ../testing-util/libtesting-util.la - -TEST_PROGS += \ - plugin-manager \ - plugin-manager-store \ - plugin-manager-view diff --git a/tests/libpeas-gtk/plugins/Makefile.am b/tests/libpeas-gtk/plugins/Makefile.am deleted file mode 100644 index 6d92f58..0000000 --- a/tests/libpeas-gtk/plugins/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ -include $(top_srcdir)/tests/Makefile.plugin - -SUBDIRS = builtin-configurable configurable valid-custom-icon - -noinst_PLUGIN = \ - hidden.plugin \ - invalid-custom-icon.plugin \ - invalid-stock-icon.plugin \ - valid-stock-icon.plugin - -EXTRA_DIST = $(noinst_PLUGIN) diff --git a/tests/libpeas-gtk/plugins/builtin-configurable/Makefile.am b/tests/libpeas-gtk/plugins/builtin-configurable/Makefile.am deleted file mode 100644 index c6f3fb5..0000000 --- a/tests/libpeas-gtk/plugins/builtin-configurable/Makefile.am +++ /dev/null @@ -1,25 +0,0 @@ -include $(top_srcdir)/tests/Makefile.plugin - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(PEAS_CFLAGS) \ - $(PEAS_GTK_CFLAGS) \ - $(WARN_CFLAGS) \ - $(DISABLE_DEPRECATED) - -noinst_LTLIBRARIES = libbuiltin-configurable.la - -libbuiltin_configurable_la_SOURCES = \ - builtin-configurable.c \ - builtin-configurable.h - -libbuiltin_configurable_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS) -libbuiltin_configurable_la_LIBADD = \ - $(top_builddir)/libpeas-gtk/libpeas-gtk-1.0.la \ - $(top_builddir)/libpeas/libpeas-1.0.la \ - $(PEAS_LIBS) \ - $(PEAS_GTK_LIBS) - -noinst_PLUGIN = builtin-configurable.plugin - -EXTRA_DIST = $(noinst_PLUGIN) diff --git a/tests/libpeas-gtk/plugins/configurable/Makefile.am b/tests/libpeas-gtk/plugins/configurable/Makefile.am deleted file mode 100644 index f492f2a..0000000 --- a/tests/libpeas-gtk/plugins/configurable/Makefile.am +++ /dev/null @@ -1,25 +0,0 @@ -include $(top_srcdir)/tests/Makefile.plugin - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(PEAS_CFLAGS) \ - $(PEAS_GTK_CFLAGS) \ - $(WARN_CFLAGS) \ - $(DISABLE_DEPRECATED) - -noinst_LTLIBRARIES = libconfigurable.la - -libconfigurable_la_SOURCES = \ - configurable-plugin.c \ - configurable-plugin.h - -libconfigurable_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS) -libconfigurable_la_LIBADD = \ - $(top_builddir)/libpeas-gtk/libpeas-gtk-1.0.la \ - $(top_builddir)/libpeas/libpeas-1.0.la \ - $(PEAS_LIBS) \ - $(PEAS_GTK_LIBS) - -noinst_PLUGIN = configurable.plugin - -EXTRA_DIST = $(noinst_PLUGIN) diff --git a/tests/libpeas-gtk/plugins/valid-custom-icon/Makefile.am b/tests/libpeas-gtk/plugins/valid-custom-icon/Makefile.am deleted file mode 100644 index 5f361b4..0000000 --- a/tests/libpeas-gtk/plugins/valid-custom-icon/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -include $(top_srcdir)/tests/Makefile.plugin - -noinst_DATA = exists.png -noinst_PLUGIN = valid-custom-icon.plugin - -EXTRA_DIST = $(noinst_DATA) $(noinst_PLUGIN) diff --git a/tests/libpeas-gtk/testing/Makefile.am b/tests/libpeas-gtk/testing/Makefile.am deleted file mode 100644 index 65210c2..0000000 --- a/tests/libpeas-gtk/testing/Makefile.am +++ /dev/null @@ -1,24 +0,0 @@ -noinst_LTLIBRARIES = libtesting.la - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(srcdir) \ - -I$(srcdir)/../../testing-util \ - $(PEAS_CFLAGS) \ - $(PEAS_GTK_CFLAGS) \ - $(WARN_CFLAGS) \ - $(DISABLE_DEPRECATED) \ - -DBUILDDIR="\"$(abs_top_builddir)\"" \ - -DSRCDIR="\"$(abs_top_srcdir)\"" - -libtesting_la_LDFLAGS = \ - -export-dynamic -no-undefined -export-symbols-regex "^[^_].*" - -libtesting_la_LIBADD = \ - $(PEAS_LIBS) \ - $(PEAS_GTK_LIBS) \ - $(top_builddir)/libpeas/libpeas-1.0.la \ - $(top_builddir)/libpeas-gtk/libpeas-gtk-1.0.la \ - ../../testing-util/libtesting-util.la - -libtesting_la_SOURCES = testing.c testing.h diff --git a/tests/libpeas/Makefile.am b/tests/libpeas/Makefile.am deleted file mode 100644 index fd55197..0000000 --- a/tests/libpeas/Makefile.am +++ /dev/null @@ -1,49 +0,0 @@ -include $(top_srcdir)/tests/Makefile.tests - -SUBDIRS = introspection plugins testing - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(srcdir) \ - -I$(srcdir)/../testing-util \ - $(PEAS_CFLAGS) \ - $(WARN_CFLAGS) \ - $(DISABLE_DEPRECATED) - -noinst_PROGRAMS = $(TEST_PROGS) - -LDADD = \ - $(PEAS_LIBS) \ - $(top_builddir)/libpeas/libpeas-1.0.la \ - ./introspection/libintrospection-1.0.la \ - ./testing/libtesting.la \ - ../testing-util/libtesting-util.la - -TEST_PROGS += \ - engine \ - extension-c \ - extension-set \ - plugin-info - -extension_c_LDADD = $(LDADD) $(builddir)/plugins/embedded/libembedded.la - -if ENABLE_LUA51 -TEST_PROGS += extension-lua51 -extension_lua51_SOURCES = extension-lua.c -extension_lua51_CFLAGS = $(LUA51_CFLAGS) -extension_lua51_LDADD = $(LDADD) $(LUA51_LIBS) -endif - -if ENABLE_PYTHON2 -TEST_PROGS += extension-python -extension_python_SOURCES = extension-py.c -extension_python_CFLAGS = $(PYGOBJECT_CFLAGS) $(PYTHON2_CFLAGS) -extension_python_LDADD = $(LDADD) $(PYGOBJECT_LIBS) $(PYTHON2_LIBS) -endif - -if ENABLE_PYTHON3 -TEST_PROGS += extension-python3 -extension_python3_SOURCES = extension-py.c -extension_python3_CFLAGS = $(PYGOBJECT_CFLAGS) $(PYTHON3_CFLAGS) -extension_python3_LDADD = $(LDADD) $(PYGOBJECT_LIBS) $(PYTHON3_LIBS) -endif diff --git a/tests/libpeas/introspection/Makefile.am b/tests/libpeas/introspection/Makefile.am deleted file mode 100644 index 3ea3758..0000000 --- a/tests/libpeas/introspection/Makefile.am +++ /dev/null @@ -1,51 +0,0 @@ -noinst_LTLIBRARIES = libintrospection-1.0.la - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(srcdir) \ - $(PEAS_CFLAGS) \ - $(WARN_CFLAGS) \ - $(DISABLE_DEPRECATED) - -libintrospection_1_0_la_LDFLAGS = $(TEST_INTROSPECTION_LIBTOOL_FLAGS) -libintrospection_1_0_la_LIBADD = \ - $(PEAS_LIBS) \ - $(top_builddir)/libpeas/libpeas-1.0.la - -libintrospection_1_0_la_SOURCES = \ - introspection-abstract.c \ - introspection-abstract.h \ - introspection-base.c \ - introspection-base.h \ - introspection-callable.c \ - introspection-callable.h \ - introspection-has-prerequisite.c \ - introspection-has-prerequisite.h \ - introspection-prerequisite.c \ - introspection-prerequisite.h \ - introspection-unimplemented.c \ - introspection-unimplemented.h - --include $(INTROSPECTION_MAKEFILE) -INTROSPECTION_GIRS = Introspection-1.0.gir -INTROSPECTION_TYPELIBS = $(INTROSPECTION_GIRS:.gir=.typelib) -INTROSPECTION_SCANNER_ARGS = \ - --add-include-path=$(top_builddir)/libpeas \ - --warn-all -INTROSPECTION_COMPILER_ARGS = \ - --includedir=$(top_srcdir)/libpeas \ - --includedir=$(top_builddir)/libpeas - -introspection_sources = $(libintrospection_1_0_la_SOURCES) - -Introspection-1.0.gir: libintrospection-1.0.la -Introspection_1_0_gir_INCLUDES = GObject-2.0 -Introspection_1_0_gir_CFLAGS = $(PEAS_CFLAGS) -I$(top_srcdir) -Introspection_1_0_gir_LIBS = $(top_builddir)/libpeas/libpeas-1.0.la libintrospection-1.0.la -Introspection_1_0_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources)) -Introspection_1_0_gir_SCANNERFLAGS = --include-uninstalled=$(top_builddir)/libpeas/Peas-1.0.gir - -CLEANFILES = $(INTROSPECTION_GIRS) $(INTROSPECTION_TYPELIBS) - -all: Introspection-1.0.typelib - diff --git a/tests/libpeas/plugins/Makefile.am b/tests/libpeas/plugins/Makefile.am deleted file mode 100644 index cb35f85..0000000 --- a/tests/libpeas/plugins/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -include $(top_srcdir)/tests/Makefile.plugin - -SUBDIRS = embedded extension-c - -if ENABLE_LUA51 -SUBDIRS += extension-lua -endif - -if ENABLE_PYTHON3 -SUBDIRS += extension-python -else -if ENABLE_PYTHON2 -SUBDIRS += extension-python -endif -endif - -noinst_PLUGIN = \ - extension-c-nonexistent.plugin \ - extension-lua51-nonexistent.plugin \ - extension-python-nonexistent.plugin \ - extension-python3-nonexistent.plugin \ - info-missing-module.plugin \ - info-missing-name.plugin \ - invalid.plugin \ - nonexistent-dep.plugin \ - not-loadable.plugin \ - os-dependant-help.plugin \ - two-deps.plugin \ - unkown-loader.plugin - -EXTRA_DIST = $(noinst_PLUGIN) diff --git a/tests/libpeas/plugins/embedded/Makefile.am b/tests/libpeas/plugins/embedded/Makefile.am deleted file mode 100644 index 1123d79..0000000 --- a/tests/libpeas/plugins/embedded/Makefile.am +++ /dev/null @@ -1,55 +0,0 @@ -include $(top_srcdir)/tests/Makefile.plugin - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(PEAS_CFLAGS) \ - $(WARN_CFLAGS) \ - $(DISABLE_DEPRECATED) - -noinst_LTLIBRARIES = libembedded.la - -libembedded_la_SOURCES = \ - embedded-plugin.c \ - embedded-plugin.h \ - embedded-resources.c \ - embedded-resources.h - -libembedded_la_LIBADD = \ - $(PEAS_LIBS) \ - $(top_builddir)/libpeas/libpeas-1.0.la - -embedded_resources_deps = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir "$(srcdir)" --generate-dependencies "$(srcdir)/embedded.gresource.xml") -embedded_resources_c_deps = $(srcdir)/embedded.gresource.xml $(embedded_resources_deps) - -embedded-resources.h: $(embedded_resources_c_deps) - $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) \ - --target="$@" \ - --sourcedir="$(srcdir)" \ - --generate \ - --c-name="embedded" \ - --manual-register \ - --internal \ - "$(srcdir)/embedded.gresource.xml" - -embedded-resources.c: $(embedded_resources_c_deps) embedded-resources.h - $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) \ - --target="$@" \ - --sourcedir="$(srcdir)" \ - --generate \ - --c-name="embedded" \ - --manual-register \ - --internal \ - "$(srcdir)/embedded.gresource.xml" - -noinst_PLUGIN = \ - embedded.gresource.xml \ - embedded.plugin \ - embedded-invalid-loader.plugin \ - embedded-missing-symbol.plugin - -EXTRA_DIST = $(noinst_PLUGIN) - -CLEANFILES = \ - embedded-resources.c \ - embedded-resources.h - diff --git a/tests/libpeas/plugins/extension-c/Makefile.am b/tests/libpeas/plugins/extension-c/Makefile.am deleted file mode 100644 index 24effac..0000000 --- a/tests/libpeas/plugins/extension-c/Makefile.am +++ /dev/null @@ -1,37 +0,0 @@ -include $(top_srcdir)/tests/Makefile.plugin - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(srcdir)/../../introspection \ - $(PEAS_CFLAGS) \ - $(WARN_CFLAGS) \ - $(DISABLE_DEPRECATED) - -noinst_LTLIBRARIES = \ - libextension-c.la \ - libextension-c-missing-symbol.la - -libextension_c_la_SOURCES = \ - extension-c-abstract.c \ - extension-c-abstract.h \ - extension-c-plugin.c \ - extension-c-plugin.h - -libextension_c_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS) -libextension_c_la_LIBADD = \ - $(PEAS_LIBS) \ - $(top_builddir)/libpeas/libpeas-1.0.la \ - $(builddir)/../../introspection/libintrospection-1.0.la - -libextension_c_missing_symbol_la_SOURCES = \ - extension-c-missing-symbol-plugin.c - -libextension_c_missing_symbol_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS) -libextension_c_missing_symbol_la_LIBADD = $(PEAS_LIBS) - -noinst_PLUGIN = \ - extension-c.gschema.xml \ - extension-c.plugin \ - extension-c-missing-symbol.plugin - -EXTRA_DIST = $(noinst_PLUGIN) diff --git a/tests/libpeas/plugins/extension-lua/Makefile.am b/tests/libpeas/plugins/extension-lua/Makefile.am deleted file mode 100644 index 5d15e45..0000000 --- a/tests/libpeas/plugins/extension-lua/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -include $(top_srcdir)/tests/Makefile.plugin - -noinst_PLUGIN = \ - extension-lua51.gschema.xml \ - extension-lua51.plugin \ - extension-lua51.lua - -EXTRA_DIST = $(noinst_PLUGIN) diff --git a/tests/libpeas/plugins/extension-python/Makefile.am b/tests/libpeas/plugins/extension-python/Makefile.am deleted file mode 100644 index 6cb7fde..0000000 --- a/tests/libpeas/plugins/extension-python/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -include $(top_srcdir)/tests/Makefile.plugin - -noinst_DATA = \ - extension-python.gschema.xml \ - extension-python.plugin \ - extension-python.py \ - extension-python3.gschema.xml \ - extension-python3.plugin \ - extension-python3.py - -extension-py.%: - test -e $@ - -extension-python.gschema.xml extension-python3.gschema.xml: extension-py.gschema.xml.in - $(AM_V_GEN) cp $< $@ && \ - $(SED) -i -e 's%PY_LOADER%$(@:extension-%.gschema.xml=%)%g' $@ - -extension-python.py extension-python3.py: extension-py.py.in - $(AM_V_GEN) $(LN_S) $< $@ - -extension-python.plugin extension-python3.plugin: extension-py.plugin.in - $(AM_V_GEN) cp $< $@ && \ - $(SED) -i -e 's%PY_LOADER%$(@:extension-%.plugin=%)%g' $@ - -EXTRA_DIST = \ - extension-py.gschema.xml.in \ - extension-py.plugin.in \ - extension-py.py.in - -CLEANFILES = $(noinst_DATA) -DISTCLEANFILES = $(noinst_DATA) diff --git a/tests/libpeas/testing/Makefile.am b/tests/libpeas/testing/Makefile.am deleted file mode 100644 index d16f168..0000000 --- a/tests/libpeas/testing/Makefile.am +++ /dev/null @@ -1,27 +0,0 @@ -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(srcdir) \ - -I$(srcdir)/../introspection \ - -I$(srcdir)/../../testing-util \ - $(PEAS_CFLAGS) \ - $(WARN_CFLAGS) \ - $(DISABLE_DEPRECATED) \ - -DBUILDDIR="\"$(abs_top_builddir)\"" \ - -DSRCDIR="\"$(abs_top_srcdir)\"" - -noinst_LTLIBRARIES = libtesting.la - -libtesting_la_LDFLAGS = \ - -export-dynamic -no-undefined -export-symbols-regex "^[^_].*" - -libtesting_la_LIBADD = \ - $(PEAS_LIBS) \ - $(top_builddir)/libpeas/libpeas-1.0.la \ - ../introspection/libintrospection-1.0.la \ - ../../testing-util/libtesting-util.la - -libtesting_la_SOURCES = \ - testing.c \ - testing.h \ - testing-extension.c \ - testing-extension.h diff --git a/tests/plugins/Makefile.am b/tests/plugins/Makefile.am deleted file mode 100644 index d0cb6ba..0000000 --- a/tests/plugins/Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ -include $(top_srcdir)/tests/Makefile.plugin - -SUBDIRS = \ - builtin \ - has-dep \ - loadable \ - self-dep - -noinst_PLUGIN = \ - full-info.plugin \ - min-info.plugin \ - unavailable.plugin - -EXTRA_DIST = $(noinst_PLUGIN) diff --git a/tests/plugins/builtin/Makefile.am b/tests/plugins/builtin/Makefile.am deleted file mode 100644 index c14560a..0000000 --- a/tests/plugins/builtin/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -include $(top_srcdir)/tests/Makefile.plugin - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(PEAS_CFLAGS) \ - $(WARN_CFLAGS) \ - $(DISABLE_DEPRECATED) - -noinst_LTLIBRARIES = libbuiltin.la - -libbuiltin_la_SOURCES = \ - builtin-plugin.c \ - builtin-plugin.h - -libbuiltin_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS) -libbuiltin_la_LIBADD = \ - $(top_builddir)/libpeas/libpeas-1.0.la \ - $(PEAS_LIBS) - -noinst_PLUGIN = builtin.plugin - -EXTRA_DIST = $(noinst_PLUGIN) diff --git a/tests/plugins/has-dep/Makefile.am b/tests/plugins/has-dep/Makefile.am deleted file mode 100644 index 1189232..0000000 --- a/tests/plugins/has-dep/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -include $(top_srcdir)/tests/Makefile.plugin - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(PEAS_CFLAGS) \ - $(WARN_CFLAGS) \ - $(DISABLE_DEPRECATED) - -noinst_LTLIBRARIES = libhas-dep.la - -libhas_dep_la_SOURCES = \ - has-dep-plugin.c \ - has-dep-plugin.h - -libhas_dep_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS) -libhas_dep_la_LIBADD = \ - $(top_builddir)/libpeas/libpeas-1.0.la \ - $(PEAS_LIBS) - -noinst_PLUGIN = has-dep.plugin - -EXTRA_DIST = $(noinst_PLUGIN) diff --git a/tests/plugins/loadable/Makefile.am b/tests/plugins/loadable/Makefile.am deleted file mode 100644 index 7bee3f4..0000000 --- a/tests/plugins/loadable/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -include $(top_srcdir)/tests/Makefile.plugin - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(PEAS_CFLAGS) \ - $(WARN_CFLAGS) \ - $(DISABLE_DEPRECATED) - -noinst_LTLIBRARIES = libloadable.la - -libloadable_la_SOURCES = \ - loadable-plugin.c \ - loadable-plugin.h - -libloadable_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS) -libloadable_la_LIBADD = \ - $(top_builddir)/libpeas/libpeas-1.0.la \ - $(PEAS_LIBS) - -noinst_PLUGIN = loadable.plugin - -EXTRA_DIST = $(noinst_PLUGIN) diff --git a/tests/plugins/self-dep/Makefile.am b/tests/plugins/self-dep/Makefile.am deleted file mode 100644 index 28a4c2b..0000000 --- a/tests/plugins/self-dep/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -include $(top_srcdir)/tests/Makefile.plugin - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(PEAS_CFLAGS) \ - $(WARN_CFLAGS) \ - $(DISABLE_DEPRECATED) - -noinst_LTLIBRARIES = libself-dep.la - -libself_dep_la_SOURCES = \ - self-dep-plugin.c \ - self-dep-plugin.h - -libself_dep_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS) -libself_dep_la_LIBADD = \ - $(top_builddir)/libpeas/libpeas-1.0.la \ - $(PEAS_LIBS) - -noinst_PLUGIN = self-dep.plugin - -EXTRA_DIST = $(noinst_PLUGIN) diff --git a/tests/testing-util/Makefile.am b/tests/testing-util/Makefile.am deleted file mode 100644 index 139e9bb..0000000 --- a/tests/testing-util/Makefile.am +++ /dev/null @@ -1,21 +0,0 @@ -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(srcdir) \ - $(PEAS_CFLAGS) \ - $(WARN_CFLAGS) \ - $(DISABLE_DEPRECATED) \ - -DBUILDDIR="\"$(abs_top_builddir)\"" \ - -DSRCDIR="\"$(abs_top_srcdir)\"" - -noinst_LTLIBRARIES = libtesting-util.la - -libtesting_util_la_LDFLAGS = \ - -export-dynamic -no-undefined -export-symbols-regex "^[^_].*" - -libtesting_util_la_LIBADD = \ - $(PEAS_LIBS) \ - $(top_builddir)/libpeas/libpeas-1.0.la - -libtesting_util_la_SOURCES = \ - testing-util.c \ - testing-util.h -- cgit v1.2.1