glib/tests/gobject
Ryan Lortie f9eb9eed10 Rework the build system for a new tests approach
Perform a substantial cleanup of the build system with respect to
building and installing testcases.

First, Makefile.decl has been renamed glib.mk and substantially
expanded.  We intend to add more stuff here in the future, like canned
rules for mkenums, marshallers, resources, etc.

By default, tests are no longer compiled as part of 'make'.  They will
be built when 'make check' is run.  The old behaviour can be obtained
with --enable-always-build-tests.

--disable-modular-tests is gone (because tests are no longer built by
default).  There is no longer any way to cause 'make check' to be a
no-op, but that's not very useful anyway.

A new glibtests.m4 file is introduced.  Along with glib.mk, this
provides for consistent handling of --enable-installed-tests and
--enable-always-build-tests (mentioned above).

Port our various test-installing Makefiles to the new framework.

This patch substantially improves the situation in the toplevel tests/
directory.  Things are now somewhat under control there.  There were
some tests being built that weren't even being run and we run those now.
The long-running GObject performance tests in this directory have been
removed from 'make check' because they take too long.

As an experiment, 'make check' now runs the testcases on win32 builds,
by default.  We can't run them under gtester (since it uses a pipe to
communicate with the subprocess) so just toss them in TESTS.  Most of
them are passing on win32.

Things are not quite done here, but this patch is already a substantial
improvement.  More to come.
2013-05-31 23:12:15 -04:00
..
.gitignore add performance tests to gitignore 2010-02-10 13:59:35 -05:00
accumulator.c Predeclare more things in tests 2012-11-02 16:14:09 +00:00
defaultiface.c tests: comment out asserts in dynamic type tests 2013-02-07 14:15:45 -05:00
deftype.c Predeclare more things in tests 2012-11-02 16:14:09 +00:00
dynamictype.c tests: comment out asserts in dynamic type tests 2013-02-07 14:15:45 -05:00
gvalue-test.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
ifacecheck.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
ifaceinherit.c Fix more void prototypes in tests 2012-11-02 16:14:11 +00:00
ifaceinit.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
Makefile.am Rework the build system for a new tests approach 2013-05-31 23:12:15 -04:00
override.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
paramspec-test.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
performance-threaded.c Remove a bunch of lingering g_thread_init() 2013-05-31 23:03:19 -04:00
performance.c performance test: add signal test with args 2013-05-23 21:50:53 -04:00
references.c Predeclare more things in tests 2012-11-02 16:14:09 +00:00
run-performance.sh Remove additional thread support in performance test 2010-01-13 10:24:09 +01:00
singleton.c Predeclare more things in tests 2012-11-02 16:14:09 +00:00
testcommon.h Do not use static GTypeInfo and GInterfaceInfo 2011-11-29 22:03:25 -05:00
testgobject.c Move a pair of gobject tests to tests/gobject/ 2013-05-31 23:03:19 -04:00
testmarshal.list Add g_value_take_variant 2010-06-19 19:07:36 +02:00
testmodule.c Dummy dynamic type module for testing type plugin code and dynamic types. 2003-09-29 14:54:39 +00:00
testmodule.h Dummy dynamic type module for testing type plugin code and dynamic types. 2003-09-29 14:54:39 +00:00
timeloop-closure.c Move a pair of gobject tests to tests/gobject/ 2013-05-31 23:03:19 -04:00