glib/tests
Dan Winship 158dde0507 Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX
In Windows development environments that have it, <unistd.h> is mostly
just a wrapper around several other native headers (in particular,
<io.h>, which contains read(), close(), etc, and <process.h>, which
contains getpid()). But given that some Windows dev environments don't
have <unistd.h>, everything that uses those functions on Windows
already needed to include the correct Windows header as well, and so
there is never any point to including <unistd.h> on Windows.

Also, remove some <unistd.h> includes (and a few others) that were
unnecessary even on unix.

https://bugzilla.gnome.org/show_bug.cgi?id=710519
2013-11-20 09:25:39 -05:00
..
collate Add Collation tests. 2005-10-05 17:37:46 +00:00
gobject build: Give internal libraries higher precedence 2013-11-19 08:11:35 -05:00
refcount tests/: Include unistd.h on *NIX only 2013-11-11 22:37:39 +08: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 asyncqueue-test: Fix leaks in tests 2013-11-10 22:40:58 +01: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 tests/: Include unistd.h on *NIX only 2013-11-11 22:37:39 +08:00
completion-test.c completion-test: Fix leaks in tests 2013-11-10 22:41:29 +01:00
cxx-test.C Add gio/gio.h include to check for c++ problems. 2008-01-08 20:37:43 +00:00
datetime.c datetime: Fix leak in test 2013-11-10 22:42:57 +01: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 Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX 2013-11-20 09:25:39 -05:00
file-test.c Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX 2013-11-20 09:25:39 -05: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 Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX 2013-11-20 09:25:39 -05: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 iochannel-test: Fix leaks in test 2013-11-10 22:45:04 +01:00
libmoduletestplugin_a.c tests/libmoduletestplugins*.c: Update Prototypes 2013-11-04 10:31:28 +08:00
libmoduletestplugin_b.c tests/libmoduletestplugins*.c: Update Prototypes 2013-11-04 10:31:28 +08:00
mainloop-test.c mainloop-test: Fix uninitialized memory access in tests 2013-11-11 17:35:26 +01:00
Makefile.am build: Give internal libraries higher precedence 2013-11-19 08:11:35 -05:00
makefile.msc.in Updated msvc build files 2009-05-30 15:29:23 +02:00
mapping-test.c tests/: Include unistd.h on *NIX only 2013-11-11 22:37:39 +08:00
memchunks.c Remove g_mutex_new()/g_cond_new() in testcases 2011-10-04 19:35:27 -04:00
module-test.c module-test: Fix leaks in test 2013-11-10 22:53:42 +01: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 tests/: Include unistd.h on *NIX only 2013-11-11 22:37:39 +08: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 Try to make the testgdate test hobble along a little longer 2013-06-17 12:40:47 -04:00
testgdateparser.c Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
testglib.c tests/: Avoid closing invalid fd's 2013-11-11 22:36:32 +08:00
thread-test.c thread-test: Fix leaks in tests 2013-11-10 22:44:12 +01:00
threadpool-test.c threadpool-test: Fix leaks in tests 2013-11-11 17:37:48 +01:00
timeloop-basic.c Some file list updates (#398069, Owen Taylor) 2007-01-19 15:50:30 +00:00
timeloop.c timeloop: Fix leaks in tests 2013-11-11 08:14:45 +01: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 unicode-encoding: Fix leaks in test 2013-11-10 22:44:39 +01: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