summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Add a quick utility to test datetime formattingMatthias Clasen2011-08-211-1/+3
|
* Only remove the lines that are no longer neededMatthias Clasen2011-05-031-3/+0
|
* Revert "[build] Remove stale LDADD lines from tests/Makefile.am to allow build"Matthias Clasen2011-05-031-0/+35
| | | | This reverts commit b0874ce28e910121fb2d94f6f9183bfdc08e8eaf.
* Add back an erroneously-removed line to tests/Makefile.amDan Winship2011-05-021-0/+1
|
* [build] Remove stale LDADD lines from tests/Makefile.am to allow buildBehdad Esfahbod2011-05-021-35/+0
| | | | Automake 1.11 wasn't happy.
* Replace -I with $(glib_INCLUDES) and friendsRyan Lortie2010-08-061-4/+1
| | | | | Stop using ad hoc -I in all of our Makefile.am. Use the new variables instead.
* Add $(top_builddir)/glib to includespaul2010-08-051-0/+1
| | | | This is required to find glibconfig.h during srcdir != builddir builds
* Move bookmarkfile tests to the test frameworkMatthias Clasen2010-08-031-6/+2
|
* Move markup parse tests to the test frameworkMatthias Clasen2010-07-301-6/+2
|
* Add some more GFile testsMatthias Clasen2010-07-301-1/+0
|
* Move markup escape tests to test frameworkMatthias Clasen2010-07-301-3/+0
|
* Don't leak in converter testMatthias Clasen2010-07-301-2/+0
|
* Add some volume monitor testsMatthias Clasen2010-07-301-2/+0
| | | | Although not much of this is easily testable.
* Move queue tests to the test frameworkMatthias Clasen2010-07-301-2/+0
|
* Move uri tests to the test frameworkMatthias Clasen2010-07-051-3/+1
|
* Move tree tests to the test frameworkMatthias Clasen2010-07-051-2/+0
|
* Move slist tests to the test frameworkMatthias Clasen2010-07-051-3/+0
|
* Move charset conversion tests to the test frameworkMatthias Clasen2010-07-041-2/+0
|
* Move node tests to the test frameworkMatthias Clasen2010-06-231-2/+0
|
* Move date tests to the test frameworkMatthias Clasen2010-06-231-1/+0
|
* Move hash tests to the test frameworkMatthias Clasen2010-06-211-2/+0
|
* Move checksum tests to the test frameworkMatthias Clasen2010-06-211-2/+0
|
* Move utf8 validation tests to the test frameworkMatthias Clasen2010-06-201-3/+0
|
* Move utf8 pointer tests to test frameworkMatthias Clasen2010-06-201-1/+0
|
* Consolide base64 tests in a single fileMatthias Clasen2010-06-201-3/+0
|
* Move scanner tests to glib/testsMatthias Clasen2010-06-201-7/+0
|
* Move regex tests to the g_test frameworkMatthias Clasen2010-06-201-3/+1
|
* always use our own internal assertion message symbolMartin Pitt2010-01-261-1/+1
| | | | | | | | | | | Re-using glibc's __abort_msg symbol causes linking problems, since the symbol is declared private. Always use our own__glib_abort_msg symbol to store assertion messages, to avoid compatibility and linking problems. Also fix the test case to work with out of tree builds (such as "make distcheck"), and re-enable it. https://bugzilla.gnome.org/show_bug.cgi?id=594872
* Disable yet another failing test that was recently added...Matthias Clasen2010-01-251-1/+1
|
* Support storing assertion messages into core dumpMartin Pitt2009-12-231-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Crash interception/debugging systems like Apport or ABRT capture core dumps for later crash analysis. However, if a program exits with an assertion failure, the core dump is not useful since the assertion message is only printed to stderr. glibc recently got a patch which stores the message of assert() into the __abort_msg global variable. (http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=48dcd0ba) That works fine for programs which actually use the standard C assert() macro. This patch adds the same functionality for glib's assertion tests. If we are building against a glibc which already has __abort_msg (2.11 and later, or backported above git commit), use that, otherwise put it into our own field __glib_assert_msg. Usage: $ cat test.c #include <glib.h> int main() { g_assert(1 < 0); return 0; } $ ./test **ERROR:test.c:5:main: assertion failed: (1 < 0) Aborted (Core dumped) $ gdb --batch --ex 'print (char*) __abort_msg' ./test core [...] $1 = 0x93bf028 "ERROR:test.c:5:main: assertion failed: (1 < 0)" https://bugzilla.gnome.org/show_bug.cgi?id=594872
* Revert "Move gio tests from gio/tests/ to tests/gio/"Matthias Clasen2009-07-051-1/+1
| | | | | | This reverts commit 2262d76b33094304ece0d0d9cd5920682599a49b. Move GIO tests back to where they belong.
* Move gio tests from gio/tests/ to tests/gio/Benjamin Otte2009-07-011-1/+1
| | | | | This avoids getting tests built every time when working on libgio and running make in the gio/ directory.
* Misc warning fixesDan Winship2009-05-011-8/+1
| | | | | | | | | | | | | | | glib/pcre/pcre_ucp_search_funcs.c, glib/pcre/pcre_valid_utf8.c: add back missing config.h includes, and this time add them to the copies in glib/update-pcre/ too so they don't get lost again on the next PCRE update. glib/garray.c, glib/gbase64.c: fix signed/unsigned pointer casts gio/xdgmime/xdgmimeglob.c: remove unused variable gio/tests/live-g-file.c: fix printf args on x86_64 tests/Makefile.am, tests/regex-test.c: remove redundant -DENABLE_REGEX
* Bug 523742 – Use noinst for non-installable librariesMatthias Clasen2009-02-121-5/+1
| | | | | | | | * tests/Makefile.am: use noninst_LTLIBRARIES for noninstalled libraries.Patch by Björn Lindqvist svn path=/trunk/; revision=7860
* Bug 550040 - Move GString, rand and printf tests to the unit testPaolo Borelli2008-09-011-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | 2008-09-01 Paolo Borelli <pborelli@katamail.com> Bug 550040 - Move GString, rand and printf tests to the unit test framework * tests/printf-test.c: * tests/rand-test.c: * tests/string-test.c: Removed * glib/tests/printf.c: * glib/tests/rand.c: * glib/tests/string.c: Added * tests/Makefile.am: * glib/tests/Makefile.am: Updated for the above svn path=/trunk/; revision=7419
* Remove leftoversMatthias Clasen2008-07-231-1/+0
| | | | svn path=/trunk/; revision=7243
* Move another testMatthias Clasen2008-07-201-2/+0
| | | | svn path=/trunk/; revision=7209
* Move another testMatthias Clasen2008-07-181-2/+0
| | | | svn path=/trunk/; revision=7198
* Move tests aroundMatthias Clasen2008-07-181-1/+0
| | | | svn path=/trunk/; revision=7197
* Bug 539770 - migrate gstrfunc unit tests to gtestPaolo Borelli2008-06-241-6/+0
| | | | | | | | | | | | | | | | | | | | | | | 2008-06-24 Paolo Borelli <pborelli@katamail.com> Bug 539770 - migrate gstrfunc unit tests to gtest * tests/strfunc-test.c: * tests/testglib.c: * tests/strtoll-test.c: * tests/strtod-test.c: * tests/string-test.c: * tests/Makefile.am: Removed old tests. * glib/tests/fileutils.c: * glib/tests/strfuncs.c: * glib/tests/Makefile.am: Added all the old tests migrated to the new unit test framework and add new unit tests for some of the functions. svn path=/trunk/; revision=7097
* fixed gstdio.h include.17:40:58 Tim Janik2008-04-181-0/+1
| | | | | | | | | | | | 2008-04-18 17:40:58 Tim Janik <timj@imendio.com> * tests/testglib.c: fixed gstdio.h include. * tests/Makefile.am: properly list testglib.c SOURCES. svn path=/trunk/; revision=6862
* added g_base64_encode()/g_base64_decode() test case by Asbjoern12:55:19 Tim Janik2008-01-111-0/+3
| | | | | | | | | | | 2008-01-11 12:55:19 Tim Janik <timj@imendio.com> * tests/testingbase64.c: added g_base64_encode()/g_base64_decode() test case by Asbjoern <asbgpe@online.no>. fixed up coding style. svn path=/trunk/; revision=6292
* split up tests and reworked code to use the new test framework.16:06:11 Tim Janik2007-12-121-2/+2
| | | | | | | | | | | | | 2007-12-12 16:06:11 Tim Janik <timj@imendio.com> * tests/testglib.c: split up tests and reworked code to use the new test framework. * tests/Makefile.am: added testglib to TEST_PROGS. svn path=/trunk/; revision=6103
* added new scanner test from #501654, by Patrick Hulin with various09:27:42 Tim Janik2007-12-061-1/+6
| | | | | | | | | | | | | | 2007-12-06 09:27:42 Tim Janik <timj@imendio.com> * tests/scannerapi.c: added new scanner test from #501654, by Patrick Hulin with various modifications. reworked coding style, adapted to new testing framework, fixed token parser test and use a forked sub process to test g_scanner_error() output messages. svn path=/trunk/; revision=6055
* Add GChecksum, a generic wrapper around various hashing algorithms. At theEmmanuele Bassi2007-12-041-0/+2
| | | | | | | | | | | | | | | | | 2007-12-04 Emmanuele Bassi <ebassi@gnome.org> * glib/gchecksum.[ch]: Add GChecksum, a generic wrapper around various hashing algorithms. At the moment, the MD5, SHA-1 and SHA-256 algorithms are supported. (#443648) * glib/glib.h: * glib/Makefile.am: * glib/glib.symbols: Build glue for GChecksum * tests/Makefile.am * tests/checksum-test.c: Add test suite for GChecksum. svn path=/trunk/; revision=6042
* Add new function g_markup_collect_attributes (bug #496847).Ryan Lortie2007-11-271-0/+2
| | | | | | | | | | | | | | | | | | 2007-11-26 Ryan Lortie <desrt@desrt.ca> Add new function g_markup_collect_attributes (bug #496847). * glib/glib.symbols: add g_markup_collect_attributes * docs/reference/glib/glib-sections.txt: * glib/gmarkup.h: * glib/gmarkup.c: add g_markup_collect_attributes and new enumerated type GMarkupCollectType. Add new error code G_MARKUP_ERROR_MISSING_ATTRIBUTE that is thrown by the attribute collector. svn path=/trunk/; revision=5947
* Replace INCLUDES by AM_CPPFLAGS, other cleanups.Matthias Clasen2007-11-251-16/+32
| | | | | | | | | | | 2007-11-24 Matthias Clasen <mclasen@redhat.com> * */Makefile.am: Replace INCLUDES by AM_CPPFLAGS, other cleanups. svn path=/trunk/; revision=5932
* initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional21:06:47 Tim Janik2007-11-211-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-11-21 21:06:47 Tim Janik <timj@imendio.com> * Makefile.decl: initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional appending via += in other makefiles. define recursive test targets: test, test-report, perf-report, full-report, as described here: http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html * Makefile.am: * build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am: * build/win32/Makefile.am, build/Makefile.am: * docs/Makefile.am, docs/reference/Makefile.am: * docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am: * gmodule/Makefile.am, tests/Makefile.am: * tests/refcount/Makefile.am, tests/gobject/Makefile.am: * glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am: * glib/tests/Makefile.am, glib/pcre/Makefile.am: * glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am: * gthread/Makefile.am, glib/Makefile.am: include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments. * glib/tests/Makefile.am: removed example testing rules. * glib/tests/testing.c: conditionalized performance and slow tests. * glib/gtestutils.h: * glib/gtestutils.c: work around g_test_config_vars not changing its exported value after value assignments, aparently due to symbol aliases. * glib/gtester.c: fixed off-by-one error which produced junk in logs. * configure.in: check for python >= 2.4 and provide $PYTHON for scripts. svn path=/trunk/; revision=5914
* test g_once_init_*() before and after g_thread_init() and test concurrencyTim Janik2007-08-131-0/+2
| | | | | | | | | | | Mon Aug 13 14:21:44 2007 Tim Janik <timj@imendio.com> * tests/onceinit.c: test g_once_init_*() before and after g_thread_init() and test concurrency resolution. svn path=/trunk/; revision=5698
* added GSLice test from Stefan Westerfeld, bug #433314.Tim Janik2007-07-121-0/+3
| | | | | | | | | | | Thu Jul 12 17:26:05 2007 Tim Janik <timj@imendio.com> * tests/slice-concurrent.c: added GSLice test from Stefan Westerfeld, bug #433314. svn path=/trunk/; revision=5630