glib/glib/tests
Marc-André Lureau f82f4776c0 tests: fix protocol test on win32
The pipe must be closed, or the child PID watch doesn't get triggered.

We should remove the message callback source on EOF, as EOF during main
loop run will reach a bad assert in the callback.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-04-14 15:38:47 +04:00
..
bookmarks tests: Test date overflow failure with bookmark file parsing 2020-10-01 11:46:23 +01:00
markups gmarkup tests: tab character escape/unescape 2020-04-03 16:30:27 +02:00
path-test-subdir Add test coverage for G_SPAWN_SEARCH_PATH 2021-01-28 18:37:45 +00:00
time-zones tests: Add tests for RFC 8536 v3 parsing of time zones 2020-07-17 15:08:59 +01:00
.gitignore guuid: Add UUID helper functions to GLib 2017-02-06 14:40:38 +01:00
1bit-mutex.c tree: Fix various typos and outdated terminology 2020-06-12 15:01:08 +01:00
4096-random-bytes
642026.c tests: Make the 642026 test take 100× less time 2022-03-04 19:21:40 +00:00
array-test.c tests: Fix compilation failure on msys2-mingw64 2022-01-06 13:22:23 +00:00
asyncqueue.c Fix global variable name hidden by local variables in glib/tests/asyncqueue.c 2022-04-01 00:18:40 +01:00
atomic.c tests: Ignore warning about use of volatile from a test for exactly that 2021-06-03 13:44:15 +01:00
autoptr.c gtimezone: Deprecate g_time_zone_new() 2020-11-21 23:11:23 +00:00
base64.c Fix global variable name hidden by local variables in glib/tests/base64.c 2022-04-01 00:18:40 +01:00
bitlock.c optimise bitlocks with new atomic operations 2011-05-28 17:39:12 -04:00
bookmarkfile.c tests: Use a temporary file in the bookmarkfile tests 2021-05-13 22:53:38 +01:00
bookmarks.xbel Fix a typo 2010-07-10 23:56:45 -04:00
bytes.c tests: Add a test for GBytes memory transfer with an odd free func 2021-06-16 12:14:58 +01:00
cache.c glib: Avoid redefining GLIB_DISABLE_DEPRECATION_WARNINGS 2020-07-27 15:41:09 +01:00
casefold.txt Merge test/unicode-caseconc.c into glib/tests/unicode.c 2022-01-19 16:21:01 +01:00
casemap.txt Merge test/unicode-caseconc.c into glib/tests/unicode.c 2022-01-19 16:21:01 +01:00
charset.c tests: Drop use of g_test_bug_base() 2021-05-13 22:16:27 +01:00
checksum.c Fix several signedness problems in glib/tests/checksum.c 2020-10-14 14:17:09 +02:00
collate.c Fix a signedness problem in glib/tests/collate.c 2020-09-14 10:11:44 +02:00
completion.c Fix glib/tests/completion test 2022-01-27 12:10:13 +01:00
cond.c Fix global variable name hidden by local variables in glib/tests/cond.c 2022-04-01 00:18:40 +01:00
convert.c Fix signedness warnings in glib/tests/convert.c 2020-10-14 14:17:09 +02:00
cxx.cpp tests: Add C++ tests for typechecking with atomic compare and exchanges 2022-04-01 17:22:33 +01:00
dataset.c Fix global variable name hidden by local variables in glib/tests/dataset.c 2022-02-21 12:42:23 +01:00
date.c glib/tests/date.c: Fix 2-digit year test 2022-04-13 00:02:57 +08:00
dir.c Add some GDir tests 2010-07-05 23:43:47 -04:00
echo-script spawn: add shebang line to script 2018-12-17 16:19:31 -05:00
echo-script.bat glib/tests/spawn-singlethread: Improve test for Windows 2013-11-11 22:38:36 +08:00
empty Improve test coverage 2011-02-13 23:49:19 -05:00
environment.c glib/tests: fix foo=bar=baz environment test 2022-03-23 16:08:42 +00:00
error.c Add test case for g_prefix_error_literal() function 2021-06-01 19:00:37 +02:00
fileutils.c gutils: Add flags to g_format_size_full() to return only value or only units 2022-04-08 11:36:03 +01:00
gdatetime.c glib: Add tests for far away GDateTimes 2022-03-21 12:56:42 +00:00
gen-casefold-txt.py Merge test/unicode-caseconc.c into glib/tests/unicode.c 2022-01-19 16:21:01 +01:00
gen-casemap-txt.py Merge test/unicode-caseconc.c into glib/tests/unicode.c 2022-01-19 16:21:01 +01:00
getpwuid-preload.c Reproducer for the null pw_name returned from getpwuid() 2020-01-15 14:07:20 +01:00
gpoll.c Use lowercase to include winsock2 2018-12-28 15:30:28 +01:00
gutils-user-database.c tests: Drop use of g_test_bug_base() 2021-05-13 22:16:27 +01:00
guuid.c tests: Drop use of g_test_bug_base() 2021-05-13 22:16:27 +01:00
gvariant.c tests: Drop use of g_test_bug_base() 2021-05-13 22:16:27 +01:00
gwakeuptest.c tests: Drop unnecessary volatile qualifiers from tests 2020-11-20 14:40:19 +00:00
hash.c Fix global variable name hidden by local variables in glib/tests/hash.c 2022-02-21 12:42:23 +01:00
hmac.c ghmac: Add support for G_CHECKSUM_SHA384 to GHmac 2017-02-20 12:40:26 +01:00
hook.c Normalize C source files to end with exactly one newline 2020-06-10 09:48:02 +01:00
hostutils.c ghostutils: Abandon hostname conversion early if it’s too long 2020-12-04 13:54:27 +00:00
include.c glib/tests/include: port to gtester 2013-11-23 00:39:07 -05:00
io-channel.c tests/io-channel: skip a "unimplemented" error on win32 2022-03-23 16:08:42 +00:00
iochannel-test-infile tests: Merge iochannel-test into io-channel tests in glib directory 2022-02-17 21:42:35 +00:00
keyfile.c tests: Fix a memory leak in the keyfile test 2022-02-20 10:43:26 +00:00
keyfiletest.ini forgotten file 2010-07-07 22:03:02 -04:00
list.c Silence MSVC C4312 in list tests 2021-12-15 17:21:20 -08:00
logging.c Fix redefinition of local variable in glib/tests/logging.c 2022-02-21 12:42:23 +01:00
macros.c Add and use G_SIZEOF_MEMBER() macro 2020-01-21 19:54:55 +04:00
mainloop.c glib/tests: disable a racy check on mainloop test 2022-03-18 00:16:38 +04:00
mappedfile.c glib: Avoid redefining GLIB_DISABLE_DEPRECATION_WARNINGS 2020-07-27 15:41:09 +01:00
markup-collect.c Merge branch 'fix_warnings' into 'master' 2020-11-14 11:51:55 +00:00
markup-escape.c Fix signedness warnings in glib/tests/markup-escape.c 2020-11-13 10:12:16 +01:00
markup-parse.c Normalize C source files to end with exactly one newline 2020-06-10 09:48:02 +01:00
markup-subparser.c Fix missing initializer warnings in glib/tests/markup-subparser.c 2020-11-13 10:13:49 +01:00
markup.c Add a test for g_markup_parse_context_get_element_stack 2014-01-01 17:59:21 -05:00
mem-overflow.c Add tests for g_aligned_alloc() 2022-02-11 14:44:09 +00:00
memchunk.c Remove old test file tests/testglib.c 2022-02-22 18:48:01 +00:00
meson.build Move tests/onceinit.c to glib/tests/onceinit.c 2022-04-11 15:26:40 +02:00
mutex.c tests: Improve signed int handling to silence scan-build warnings 2020-10-14 13:15:09 +01:00
node.c Remove old test file tests/testglib.c 2022-02-22 18:48:01 +00:00
NormalizationTest.txt Move unicode-normalize test from tests/ to glib/tests/ 2022-04-08 11:27:13 +02:00
once.c Fix dropped 'const' qualifier warning in glib/tests/once.c 2021-06-09 11:11:06 +02:00
onceinit.c Move tests/onceinit.c to glib/tests/onceinit.c 2022-04-11 15:26:40 +02:00
option-argv0.c tests: remove old libtool workarounds 2022-02-22 23:54:55 +04:00
option-context.c Fix global variable name hidden by local variables in glib/tests/option-context.c 2022-02-21 12:42:22 +01:00
overflow.c glib/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
pages.ini Add testcase for bug 640695 2011-01-27 23:07:53 -05:00
pattern.c tests/pattern: Add compilation and copy test for utf-8 string 2021-04-27 16:25:09 +02:00
private.c glib/tests: skip a failing test with a FIXME 2022-03-18 00:16:38 +04:00
protocol.c tests: fix protocol test on win32 2022-04-14 15:38:47 +04:00
queue.c tests: Fix copy/paste error in queue test 2021-03-16 12:53:44 -05:00
rand.c tests: Drop use of g_test_bug_base() 2021-05-13 22:16:27 +01:00
rcbox.c Fix signedness warnings in glib/tests/rcbox.c 2020-11-13 10:12:16 +01:00
rec-mutex.c glib: Avoid redefining GLIB_DISABLE_DEPRECATION_WARNINGS 2020-07-27 15:41:09 +01:00
refcount.c glib/tests/refcount.c: Only expect saturation tests to pass on GCC 2019-06-18 16:42:51 +08:00
refstring.c Normalize C source files to end with exactly one newline 2020-06-10 09:48:02 +01:00
regex.c Merge branch 'wip/pwithnall/962-drop-embedded-pcre' into 'main' 2021-06-21 14:07:45 +00:00
relation.c tests: Fix compilation when GLIB_DISABLE_DEPRECATION_WARNINGS is defined 2022-03-22 10:15:40 +00:00
rwlock.c glib: Avoid redefining GLIB_DISABLE_DEPRECATION_WARNINGS 2020-07-27 15:41:09 +01:00
scannerapi.c Fix signedness warning in glib/tests/scannerapi.c 2020-11-13 10:12:16 +01:00
search-utils.c glib/tests: Fix variable maybe uninitialized warning 2022-01-25 20:18:41 +01:00
sequence.c Fix redefinition of local variable in glib/tests/sequence.c 2022-02-21 12:42:22 +01:00
shell.c Fix signedness warnings in glib/tests/shell.c 2020-11-17 14:12:53 +01:00
slice-color.c Move test files on slices from tests/ to glib/tests/ 2022-03-22 11:42:33 +00:00
slice-concurrent.c Move test files on slices from tests/ to glib/tests/ 2022-03-22 11:42:33 +00:00
slice.c tests: Drop unnecessary volatile qualifiers from tests 2020-11-20 14:40:19 +00:00
slist.c tests: Don't compare strings by pointer 2020-03-05 09:39:33 +01:00
sort.c gqsort: Move test to glib/tests/ 2021-11-27 02:16:22 +05:30
spawn-multithreaded.c tests: Correctly exit and join the worker threads in spawn-multithreaded 2022-03-12 01:46:07 +00:00
spawn-path-search-helper.c Fix missing initializer warning in glib/tests/spawn-path-search-helper.c 2021-05-13 12:57:14 +02:00
spawn-path-search.c tests: skip spawn-path-search tests on win32 2022-02-22 23:55:57 +04:00
spawn-singlethread.c tests: remove old libtool workarounds 2022-02-22 23:54:55 +04:00
spawn-test-helper.c Add test coverage for G_SPAWN_SEARCH_PATH 2021-01-28 18:37:45 +00:00
spawn-test.c tests: Make a string comparison on an error string more relaxed 2022-04-08 12:25:59 +01:00
strfuncs.c Fix redefinition of local variable in glib/tests/strfuncs.c 2022-02-21 12:42:15 +01:00
string.c tests: Add some tests for g_string_append_vprintf() 2022-03-09 14:09:57 +00:00
strvbuilder.c gstrvbuilder: add addv and add_many to the API 2021-05-26 12:41:18 +00:00
test-printf.c tests: Skip vasprintf() placeholder checks on FreeBSD and macOS 2022-03-14 17:59:37 +00:00
test-spawn-echo.c gthread: move test cases to glib/ 2011-10-16 19:08:59 -04:00
test-spawn-sleep.c tests: fix spawn-multithreaded on win32 2022-02-22 23:55:55 +04:00
testing-helper.c gtestutils: Handle empty argv array passed to g_test_init() 2022-02-11 14:47:19 +00:00
testing.c gtestutils: Handle empty argv array passed to g_test_init() 2022-02-11 14:47:19 +00:00
thread-pool.c tests: Rewrite thread-pool test for freeing queued items 2021-08-19 14:25:24 +01:00
thread.c tests: Mark tests with AddressSanitizer-detected leaks 2021-02-01 11:19:59 +00:00
timeout.c tests: Add some rounding tolerance in timeout test 2020-12-12 18:41:08 +00:00
timer.c glib/tests: fix random failure due to rounding 2022-03-18 00:16:38 +04:00
tree.c Remove old test file tests/testglib.c 2022-02-22 18:48:01 +00:00
types.c Move tests/type-test.c to glib/tests/types.c 2022-03-04 16:24:20 +00:00
unicode-encoding.c Move tests/unicode-encoding.c to glib/tests/unicode-encoding.c 2022-04-04 18:51:30 +02:00
unicode-normalize.c Move unicode-normalize test from tests/ to glib/tests/ 2022-04-08 11:27:13 +02:00
unicode.c glib/tests: fix test_turkish_strupdown 2022-03-23 16:08:40 +00:00
unix.c glib-unix: Add g_unix_get_passwd_entry() function 2019-11-26 12:17:04 +00:00
uri.c guri: Improve performance of remove_dot_segments() algorithm 2021-11-17 15:20:28 +00:00
utf8-misc.c gutf8: add string length check when ending character offset is -1 2021-11-19 00:52:07 +08:00
utf8-performance.c glib/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
utf8-pointer.c gunicode: Fix UB in gutf8.c and utf8-pointer test 2019-11-14 18:38:03 +00:00
utf8-validate.c Fix global variable name hidden by local variables in glib/tests/utf8-validate.c 2022-02-21 12:38:11 +01:00
utf8.txt Move tests/unicode-encoding.c to glib/tests/unicode-encoding.c 2022-04-04 18:51:30 +02:00
utils.c Move unit test on g_basename() function to glib/tests/fileutils.c 2022-03-17 18:10:09 +01:00
win32.c Test the wchar_t version of pid-event subst routine 2021-06-08 08:38:59 +00:00