Peter Kjellerstedt
7c8576accb
Do not fail unit test due to gdb abbreviating strings
...
gdb by default will only print strings up to 200 characters. After that
it abbreviates them. This affects the run-assert-msg-test.sh script if
the path to the glib installation is too long (in our case it was 133
characters, 132 would still have worked...)
By having gdb execute "set print elements 0" before printing the assert
string, the limit on maximum number of characters to print is set to
unlimited.
Signed-off-by: Peter Kjellerstedt <pkj@axis.com >
https://bugzilla.gnome.org/show_bug.cgi?id=670218
2012-02-18 19:22:14 -05:00
Antoine Jacoutot
9653d9c92a
Don't hardcode path to true(1).
...
true(1) is not always installed under /bin so leave system() find
it in the PATH.
https://bugzilla.gnome.org/show_bug.cgi?id=651219
2011-06-05 13:12:23 -04:00
Matthias Clasen
bd8b245f57
Update Unicode tests to 6.0
2011-01-22 00:02:08 -05:00
Matthias Clasen
316be2748f
Adapt testglib.c to GRelation deprecation
...
Patch by Chun-wei Fan, bug https://bugzilla.gnome.org/show_bug.cgi?id=637858
2010-12-28 00:12:19 -05:00
Matthias Clasen
bf1027f826
Move ifaceproperties test to gobject/tests/
2010-12-27 23:49:12 -05:00
Matthias Clasen
2a5e0cf9e0
Convert ifaceproperties.c to test framework
...
Also add a test that checks warnings for failure to implement
interface properties.
See https://bugzilla.gnome.org/show_bug.cgi?id=637738
2010-12-27 23:40:28 -05:00
Tor Lillqvist
46390c9d10
Don't call close() on -1
...
Of course, a proper implementation of close() will just ignore an
invalid parameter silently, and set errno. But apparently the "debug"
version of the Microsoft C library generates some noise in this
case. So avoid that. Thanks to John Emmas for reporting.
2010-10-07 12:06:48 +03:00
Jens Georg
db7ddcc195
Improve parsing of date-only iso8601 strings
2010-08-26 18:18:52 +03:00
Dan Winship
8f5ec0dad3
Fix misc compiler warnings in (mostly) test programs
2010-08-19 18:24:53 -04:00
Ryan Lortie
b3b7ea8e22
Replace -I with $(glib_INCLUDES) and friends
...
Stop using ad hoc -I in all of our Makefile.am. Use the new variables
instead.
2010-08-06 13:10:34 -04:00
paul
9f6faaffb6
Add $(top_builddir)/glib to includes
...
This is required to find glibconfig.h during srcdir != builddir builds
2010-08-05 09:08:34 -04:00
Matthias Clasen
5179d92e9c
fix the completion test
2010-08-03 10:25:54 -04:00
Matthias Clasen
21d98dbc4b
improve completion test coverage
2010-08-03 10:25:54 -04:00
Matthias Clasen
e4b5104003
Move bookmarkfile tests to the test framework
2010-08-03 10:25:54 -04:00
Matthias Clasen
03be0d7237
Move markup parse tests to the test framework
2010-07-30 19:51:21 -04:00
Matthias Clasen
13ac9f94fd
Add some more GFile tests
2010-07-30 19:51:19 -04:00
Matthias Clasen
c972d4df64
Move markup escape tests to test framework
2010-07-30 19:51:18 -04:00
Matthias Clasen
d0750c9d6e
Don't leak in converter test
2010-07-30 19:51:18 -04:00
Matthias Clasen
9fc3c980cc
Add some volume monitor tests
...
Although not much of this is easily testable.
2010-07-30 19:51:17 -04:00
Matthias Clasen
e5a72ae3c4
Move queue tests to the test framework
2010-07-30 19:51:17 -04:00
Olivier Crête
f6d3e224df
notify: Add tests for threadsafe object notifies
...
https://bugzilla.gnome.org/show_bug.cgi?id=166020
2010-07-22 21:56:21 +02:00
Matthias Clasen
b720732059
Move uri tests to the test framework
2010-07-05 23:13:18 -04:00
Matthias Clasen
953962d783
Move tree tests to the test framework
2010-07-05 23:13:18 -04:00
Matthias Clasen
5123bc69e7
Move slist tests to the test framework
2010-07-05 23:13:18 -04:00
Matthias Clasen
b61fd45ac3
Move list tests to the test framework
2010-07-05 23:13:18 -04:00
Matthias Clasen
26e29cb360
Move charset conversion tests to the test framework
2010-07-04 20:51:06 -04:00
Matthias Clasen
e26b92b947
Move node tests to the test framework
2010-06-23 09:25:29 -04:00
Matthias Clasen
01abbc4bd3
Move node test to the test framework
2010-06-23 09:25:29 -04:00
Matthias Clasen
5c1b3a0263
Move date tests to the test framework
2010-06-23 09:25:29 -04:00
Matthias Clasen
2f438f18ae
Move hash tests to the test framework
2010-06-21 23:08:01 -04:00
Matthias Clasen
5629366c3d
Move checksum tests to the test framework
2010-06-21 23:08:01 -04:00
Matthias Clasen
7bea2a7a4f
Move utf8 validation tests to the test framework
2010-06-20 21:16:24 -04:00
Matthias Clasen
5b08ef84e4
Move utf8 pointer tests to test framework
2010-06-20 21:04:47 -04:00
Matthias Clasen
0ed575213b
Consolide base64 tests in a single file
2010-06-20 16:53:39 -04:00
Matthias Clasen
08d6e535be
Move scanner tests to glib/tests
2010-06-20 16:53:38 -04:00
Matthias Clasen
09aa2e79ab
Move sequence tests to the test framework
2010-06-20 12:23:13 -04:00
Matthias Clasen
bf8ce25216
Move base64 tests of to test framework
2010-06-20 11:34:31 -04:00
Matthias Clasen
f849dbac05
Move regex tests to the g_test framework
2010-06-20 11:20:54 -04:00
Christian Persch
db68f8203a
Add g_value_take_variant
...
Turns out we do need g_value_take_variant(), so we can correctly
implement VARIANT:* marshalers.
Bug #621947 .
2010-06-19 19:07:36 +02:00
Christian Persch
4708b8ecc3
Add fundamental type and pspec for GVariant
...
Make G_TYPE_VARIANT a fundamental type instead of boxed, and add
g_variant_{set,get,dup}_variant.
Add GParamSpecVariant.
Bug #610863 .
2010-06-17 21:00:54 +02:00
Christian Persch
1b8ee5196e
Sprinkle some $(AM_V_GEN) around to make the build more silent.
2010-06-15 22:01:02 -04:00
Juan A. Suarez Romero
992e07c8b2
Fix warnings
...
Do explicit casts to avoid warnings.
2010-06-09 10:32:12 +02:00
Colin Walters
183102104a
[mainloop-test] Fix compilation errors
2010-05-26 16:21:15 -04:00
Havoc Pennington
6b53e4826f
GSource: add g_source_set_name, g_source_get_name, g_source_set_name_by_id
...
These allow applications to give meaningful names to their sources.
Source names can then be used for debugging and profiling, for
example with systemtap or gdb.
https://bugzilla.gnome.org/show_bug.cgi?id=606044
2010-05-25 16:59:22 -04:00
Priit Laes
96d105906e
Fix run-assert-msg-test to work with libtool-2.2.x.
2010-03-08 00:16:23 -05:00
Ryan Lortie
1e6b184225
add performance tests to gitignore
2010-02-10 13:59:35 -05:00
Ryan Lortie
3e30e8a87e
make tests not dynamic link against /lib/libglib
...
For some reason, even though the tests are linked against libgobject.la
and libgobject.la mentions libglib.la as a dependency, the tests are
running against the system glib instead of the in-tree one.
Adding the libglib.la file as an explicit LDFLAG fixes it.
2010-02-10 11:35:01 -05:00
Tor Lillqvist
241c7f476d
Don't use deprecated g_win32 API
2010-02-04 14:53:20 +02:00
Ryan Lortie
6aa73f03eb
improve gitignore
2010-01-28 22:43:51 -05:00
Martin Pitt
3658727cfa
always use our own internal assertion message symbol
...
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
2010-01-26 11:22:31 +01:00