History log of /external/bluetooth/glib/tests/spawn-test.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7d2ec70a49558247fb5874b1770e315e8deff235 07-Nov-2007 Tor Lillqvist <tml@novell.com> Not needed, just use -DPCRE_STATIC.

2007-11-07 Tor Lillqvist <tml@novell.com>

* glib/update-pcre/notdll.patch: Not needed, just use -DPCRE_STATIC.

* glib/update-pcre/Makefile.am: Drop notdll.patch.

* glib/update-pcre/Makefile.am-1
* glib/update-pcre/update.sh
* glib/pcre/Makefile.am
* glib/Makefile.am: Use -DPCRE_STATIC.

* tests/gio-test.c
* tests/mainloop-test.c
* tests/spawn-test.c: #define pipe(fds) _pipe(fds, 4096,
_O_BINARY) on Windows.

* tests/regex-test.c (test_expand): Don't print NULL with %s.


svn path=/trunk/; revision=5805
/external/bluetooth/glib/tests/spawn-test.c
7221f500f53591f980fbb2368c7eaa7f9beb6f27 14-Jul-2005 Matthias Clasen <mclasen@redhat.com> Make the tests silent on success.

2005-07-14 Matthias Clasen <mclasen@redhat.com>

* tests/spawn-test.c:
* tests/uri-test.c:
* tests/thread-test.c:
* tests/queue-test.c:
* tests/mainloop-test.c:
* tests/iochannel-test.c:
* tests/gio-test.c:
* tests/child-test.c: Make the tests silent on success.
/external/bluetooth/glib/tests/spawn-test.c
20378332aea3a273a27bd0d40451811b21a7a1f6 20-Mar-2005 Tor Lillqvist <tml@novell.com> Print more detailled output from the timer tests. Don't print home

2005-03-20 Tor Lillqvist <tml@novell.com>

* tests/testglib.c (main): Print more detailled output from the
timer tests. Don't print home directory twice. Test
g_win32_error_message().

* tests/spawn-test.c (run_tests): On Win32, run netstat instead of
ipconfig. On Windows XP collecting output from ipconfig doesn't
seem to work for some reason.
/external/bluetooth/glib/tests/spawn-test.c
f4cb22c78d573d53dba62b7f6743cbe0a1d1e135 10-Mar-2004 Tor Lillqvist <tml@iki.fi> glib/gspawn-win32.c Implement G_SPAWN_FILE_AND_ARGV_ZERO. (#136792, Bruce

2004-03-10 Tor Lillqvist <tml@iki.fi>

* glib/gspawn-win32.c
* glib/gspawn-win32-helper.c: Implement
G_SPAWN_FILE_AND_ARGV_ZERO. (#136792, Bruce Hochstetler)

* tests/spawn-test.c
* tests/spawn-test-win32-gui.c: Test it.
/external/bluetooth/glib/tests/spawn-test.c
2781d5f6b3cf40fcf63b041932e58cd9d228d99e 20-Jul-2003 Hans Breuer <hans@breuer.org> for msvc build

2003-07-20 Hans Breuer <hans@breuer.org>

* glib/trio/makefile.msc : (new file) for msvc build

* glib/glib.def : removed some duplicated entries

* glib/gscanner.c : add same workaround for MSVC(5.0)
which does not allow to cast an uint64 to float.
Same as in gvaluetransform.c
Also move #include <io.h> behind inclusion of "glib.h"
which defines the needed G_OS_WIN32

* glib/makefile.msc.in : added gprintf.obj, trio\trio.lib
as well as shell32.lib

* tests/spawn-test.c : include <io.h> on win32
/external/bluetooth/glib/tests/spawn-test.c
1f04f2cce236311e79fef775890a5114123ced37 17-Nov-2002 Tor Lillqvist <tml@iki.fi> Ignore the G_SPAWN_DO_NOT_REAP_CHILD flag, can't be meaninfully

2002-11-17 Tor Lillqvist <tml@iki.fi>

* glib/gspawn-win32.c (g_spawn_async_with_pipes): Ignore the
G_SPAWN_DO_NOT_REAP_CHILD flag, can't be meaninfully implemented
on Windows, at least not now. Always pass dont_wait as TRUE to
do_spawn_with_pipes(). The semantics of the dont_wait parameter is
very different from the semantics of the intermediate_child
parameter to fork_exec_with_pipes() in the Unix version. This
fixes a serious bug, g_spawn_async() in fact behaved
synchronously.

(do_spawn_with_pipes, do_spawn): Rename from
fork_exec_with_pipes() and do_exec(), those names were from the
Unix bersion, and misleading.

(close_and_invalidate): Don't try to close invalid fds.

* glib/gspawn.c (g_spawn_async_with_pipes): Add warning about
Windows behaviour. There is no fork(), so the child_setup()
function is in fact called in the parent.

* glib/gspawn-win32-helper.c (WinMain): Insert spaces in argv
debugging output.

* tests/spawn-test-win32-gui.c: New file. Test program to be
linked as a GUI application. Behaves differently depending on how
invoked (by spawn-test).

* tests/spawn-test.c (run_tests): On Win32, run the
spawn-test-win32-gui program, too, in several ways, synchronously
and asynchronously.

* tests/Makefile.am: Corresponding change.
/external/bluetooth/glib/tests/spawn-test.c
74b4d8c22e6b63661430395f40b978684009c29b 30-Aug-2001 Tor Lillqvist <tml@iki.fi> After being away for about five months, I'm back working on this... For

2001-08-30 Tor Lillqvist <tml@iki.fi>

After being away for about five months, I'm back working on
this... For now, still using same build setup for Win32. Probably
will change to not including version numbers in the import library
names, though. (But the DLL names would still include them,
possibly even also the micro version number.) That would be more
Unix-like. Also, will have to check out newest mingw tool versions
to see if the build-dll script now can be retired.

* makefile.mingw
* makefile.msc: New files, no need to generate from .in as
they don't contain references to automake variables.

* makefile.mingw.in
* makefile.msc.in: Removed.

* glib.rc.in: Remove
* glib/glib.rc.in: Moved here.

* Makefile.am
* glib/Makefile.am: Corresponding changes.

* glib/glib.def: Fix typo, add new entries.

* glib/gspawn-win32-helper.c: More debugging. Doesn't work
currently (or then it never has on Win2k, which I now use?)

* glib/gstrfuncs.c
* glib/gstrfuncs.h: Mark g_ascii_table for export/import on Win32.

* */makefile.mingw.in: Reflect new location of glib library.
/external/bluetooth/glib/tests/spawn-test.c
3fa620d4dfeb3440526682b4970bc9147b6665c9 19-Jul-2001 Darin Adler <darin@src.gnome.org> Add missing const. (g_strsplit): Add g_return_val_if_fail for case of

* glib/gstrfuncs.c: (g_ascii_strdown), (g_ascii_strup): Add
missing const.
(g_strsplit): Add g_return_val_if_fail for case of empty
delimiter, which can result in an infinite loop otherwise.
* glib/gstrfuncs.h: Add missing const.
* tests/.cvsignore: Ignore a generated file.

* tests/array-test.c:
* tests/dirname-test.c:
* tests/hash-test.c:
* tests/list-test.c:
* tests/node-test.c:
* tests/relation-test.c:
* tests/shell-test.c:
* tests/slist-test.c:
* tests/spawn-test.c:
* tests/strfunc-test.c:
* tests/string-test.c:
* tests/testglib.c:
* tests/tree-test.c:
* tests/type-test.c:
Add an #undef G_DISABLE_ASSERT so all tests will assert even if
asserts are disabled inside glib itself.
/external/bluetooth/glib/tests/spawn-test.c
fb4de1c50d96cd500f53f7701629fd01ec99d7ad 16-Oct-2000 Tor Lillqvist <tml@iki.fi> Some more debugging output. (g_io_channel_win32_poll): Remove unused vars.

2000-10-16 Tor Lillqvist <tml@iki.fi>

* giowin32.c (reader_thread): Some more debugging output.
(g_io_channel_win32_poll): Remove unused vars.

* gfileutils.c: Changes for Win32, with no unistd.h and no
S_ISLNK().

* gspawn-win32.c: Implementation of the g_spwan_* functions for
Win32. Due to the general non-Unixness of Win32, much of the
functionality that is relatively clean to implement on Unix, is
hard to do on Win32. We must use a separate helper program to
change directory, close extra file descriptors, redirect the std
ones, as needed, and only then start the child process. No child
process pid can be returned, unfortunately. Or if we used
CreateProcess directly, it probably could. (Now we use the spawnv*
functions from msvcrt.)

* glib.def: Add new entry points.

* glib.def
* giowin32.c: Remove g_io_channel_win32_wait_for_condition(),
g_io_channel_win32_poll() subsumes it.

* gbacktrace.h: G_BREAKPOINT for MSVC (on the ix86).

* gwin32.c (g_win32_getlocale): Use "sp" for
LANG_CROATIAN+SUBLANG_SERBIAN_LATIN.

* makefile.{mingw,msc}.in (glib_OBJECTS): Add new files.
Add gspawn-win32-helper.exe rule.

* tests/makefile.{mingw,msc}.in (TESTS): Add shell-test and
spawn-test.

* tests/spawn-test.c: (run_tests): On Win32, don't try to run
/bin/sh, but ipconfig (no special significance in choosing that,
just a program that outputs something to stdout).
/external/bluetooth/glib/tests/spawn-test.c
8e3a3eef63c3c298c93fa8f8e827b10dd1b6327c 09-Oct-2000 Havoc Pennington <hp@redhat.com> Add new files.

2000-10-09 Havoc Pennington <hp@redhat.com>

* Makefile.am, tests/Makefile.am: Add new files.

* tests/spawn-test.c, tests/shell-test.c: new tests for
the shell/spawn stuff

* gutils.c (g_find_program_in_path): convert a relative
program name into an absolute pathname to an existing
executable

* gspawn.h, gspawn.c: New fork/exec API

* gshell.h, gshell.c: Shell-related utilities, at the moment
simply routines to parse argv and quote/unquote strings

* guniprop.c (g_unichar_isspace): Return TRUE for the
ASCII space characters isspace() returns TRUE for.

* gfileutils.c (g_file_get_contents): Convenience function
to slurp entire file into a string and return it. Partially
written by Joel Becker.
(g_file_test): file test function
/external/bluetooth/glib/tests/spawn-test.c