glib/tests
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
..
collate Add Collation tests. 2005-10-05 17:37:46 +00:00
gobject Rework the build system for a new tests approach 2013-05-31 23:12:15 -04:00
refcount Rework the build system for a new tests approach 2013-05-31 23:12:15 -04:00
.gitignore .gitignore updates 2013-01-26 10:09:33 -05:00
assert-msg-test.c Use (void) for no parameters, not () 2012-11-01 20:12:02 -04:00
assert-msg-test.gdb Fix the assert-msg test 2013-01-14 17:35:47 -05:00
asyncqueue-test.c Remove a bunch of lingering g_thread_init() 2013-05-31 23:03:19 -04:00
atomic-test.c Remove deprecated atomic functions from tests 2011-06-06 00:30:02 -04:00
bit-test.c Fix tests on x86_64. 2007-01-05 03:31:54 +00:00
casefold.txt Update case conversion test data for Unicode 6.1 2012-02-26 21:49:20 -05:00
casemap.txt Update case conversion test data for Unicode 6.1 2012-02-26 21:49:20 -05:00
child-test.c Remove a bunch of lingering g_thread_init() 2013-05-31 23:03:19 -04:00
completion-test.c fix the completion test 2010-08-03 10:25:54 -04:00
cxx-test.C Add gio/gio.h include to check for c++ problems. 2008-01-08 20:37:43 +00:00
datetime.c Add a quick utility to test datetime formatting 2011-08-21 21:33:30 -04:00
dirname-test.c Fix Win32 behaviour in some cases where a drive letter is present. For 2004-03-21 21:43:13 +00:00
env-test.c Remove critical log handler; we can't trigger g_return_if_fails() in our 2004-03-14 04:27:26 +00:00
file-test.c Add g_mkdtemp in the spirit of g_mkstemp 2011-08-14 14:09:58 -04:00
gen-casefold-txt.pl Update Unicode data to 4.0. (#107974) 2003-07-31 02:27:56 +00:00
gen-casemap-txt.pl Unicode 4.0 special casing. (#114681) 2003-09-10 16:55:36 +00:00
gio-ls.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gio-test.c Cosmetic changes 2012-06-11 10:25:24 -04:00
iochannel-test-infile Modified Files: glib/ChangeLog glib/glib.def glib/glib/giochannel.c 2001-07-20 20:14:37 +00:00
iochannel-test.c Some final g_test_build_filename() porting 2013-05-31 23:03:19 -04:00
libmoduletestplugin_a.c visibility: Use a separate CFLAGS variable 2013-01-14 23:31:59 -05:00
libmoduletestplugin_b.c visibility: Use a separate CFLAGS variable 2013-01-14 23:31:59 -05:00
mainloop-test.c Remove a bunch of lingering g_thread_init() 2013-05-31 23:03:19 -04:00
Makefile.am Rework the build system for a new tests approach 2013-05-31 23:12:15 -04:00
makefile.msc.in Updated msvc build files 2009-05-30 15:29:23 +02:00
mapping-test.c define PCRE_STATIC to reflect the inclusion of pcre as LIB, not 2007-03-17 09:49:09 +00:00
memchunks.c Remove g_mutex_new()/g_cond_new() in testcases 2011-10-04 19:35:27 -04:00
module-test.c Some final g_test_build_filename() porting 2013-05-31 23:03:19 -04:00
onceinit.c Remove a bunch of lingering g_thread_init() 2013-05-31 23:03:19 -04:00
qsort-test.c win32: misc warning fixes 2012-11-15 14:19:06 -05:00
relation-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
run-assert-msg-test.sh tests: fix a few recently-broken tests 2013-05-21 11:21:36 -03:00
run-collate-tests.sh Silently skip tests if we can't set LC_COLLATE to en_US. (#336438) 2006-12-24 21:47:05 +00:00
slice-color.c slice-color test: don't use non-existent macro 2012-05-01 15:16:05 -07:00
slice-concurrent.c Fix more warning-addition fallout 2012-11-02 16:27:19 +00:00
slice-test.c Remove a bunch of lingering g_thread_init() 2013-05-31 23:03:19 -04:00
slice-threadinit.c Fix make check 2011-05-01 17:10:04 -04:00
sources.c win32: fix tests/sources.c 2012-08-21 21:15:45 +02:00
spawn-test-win32-gui.c Minor Cygwin fix. (#138405, Roger Leigh) 2004-03-31 02:13:52 +00:00
spawn-test.c Not needed, just use -DPCRE_STATIC. 2007-11-07 09:49:25 +00:00
testgdate.c build: Add missing "static" keyword where it should be used 2012-11-01 20:12:01 -04:00
testgdateparser.c Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
testglib.c tests: port from g_test_trap_subprocess() to g_test_trap_fork() 2013-05-13 12:10:52 -04:00
thread-test.c Remove a bunch of lingering g_thread_init() 2013-05-31 23:03:19 -04:00
threadpool-test.c Remove a bunch of lingering g_thread_init() 2013-05-31 23:03:19 -04:00
timeloop-basic.c Some file list updates (#398069, Owen Taylor) 2007-01-19 15:50:30 +00:00
timeloop.c glib/gdebug.h glib/gutils.c gobject/gtype.c gthread/gthread-posix.c 2004-11-01 18:47:12 +00:00
type-test.c Fix docs for G_MAXSIZE. (#148262, Christophe Fergeau) 2004-07-23 14:39:25 +00:00
unicode-caseconv.c Some final g_test_build_filename() porting 2013-05-31 23:03:19 -04:00
unicode-collate.c build: Add missing "static" keyword where it should be used 2012-11-01 20:12:01 -04:00
unicode-encoding.c Some final g_test_build_filename() porting 2013-05-31 23:03:19 -04:00
unicode-normalize.c Update to reflect Unicode PR #29 (#348694, Nikolai Weibull) 2006-07-31 04:50:05 +00:00
utf8.txt More clean up for Unicode corrigendum #9 2013-03-18 23:28:27 -04:00