glib/gio/tests
Colin Walters cc19922183 Rewrite apps test to ensure children are killed
Create a function run_with_application that both ensures the
app is running exactly while the test is running, which most
of the tests use.  We start it beforehand, and kill it after.
This avoids having any interdependence between the tests (and
there definitely was before, because we didn't wait for
the process to actually terminate after a kill() call).

Also, open a pipe between the two, and have the child app
monitor that pipe.  If it gets closed (e.g. because the parent
died), the child exits.  This is the most reliable way to
avoid stale children; before, if we failed an assertion, the
parent would abort, and not run kill().

https://bugzilla.gnome.org/show_bug.cgi?id=621034
2010-06-10 13:14:29 -04:00
..
schema-tests Bug 620496 - schema compiler: reject invalid paths 2010-06-07 10:18:43 +02:00
.gitignore gitignore additions for gdbus, new test cases 2010-05-17 07:16:37 -04:00
appinfo-test.c Merge the wip/gapplication branch 2010-06-07 13:48:42 -04:00
appinfo-test.desktop Merge the wip/gapplication branch 2010-06-07 13:48:42 -04:00
appinfo.c Merge the wip/gapplication branch 2010-06-07 13:48:42 -04:00
application.c Fix GApplication tests to run without a session bus 2010-06-09 23:44:13 -04:00
async-close-output-stream.c Added test cases for g_output_stream_close_async 2010-05-12 09:21:12 +02:00
buffered-input-stream.c Add unit tests for some more methods 2009-12-08 17:05:09 +01:00
contexts.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
converter-stream.c Fix return type of g_converter_[in|out]put_stream. 2009-11-29 15:14:10 +01:00
data-input-stream.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
data-output-stream.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
de.po Merge GSettings tests 2010-04-17 01:48:05 -04:00
desktop-app-info.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
echo-server.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
filter-cat.c Fix GZlibCompressorFormat names 2009-11-24 13:02:05 +01:00
filter-streams.c Fix warning 2010-06-09 10:32:36 +02:00
g-file-info.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
g-file.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
g-icon.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
gdbus-addresses.c More copyright year updates 2010-05-10 08:07:28 -04:00
gdbus-connection.c GDBusConnection.call(): add 'reply_type' argument 2010-05-24 17:00:04 -04:00
gdbus-error.c More copyright year updates 2010-05-10 08:07:28 -04:00
gdbus-example-export.c remove the redundant interface_name parameter 2010-05-13 13:09:58 -04:00
gdbus-example-own-name.c Strip copyright headers from examples 2010-05-11 15:50:19 -04:00
gdbus-example-peer.c GDBusConnection.call(): add 'reply_type' argument 2010-05-24 17:00:04 -04:00
gdbus-example-proxy-subclass.c Plug mem leaks in gdbus tests & examples 2010-05-15 00:12:18 +02:00
gdbus-example-server.c Add missing gunixfdlist.h include in gdbus-example-server.c 2010-05-18 12:01:25 +10:00
gdbus-example-subtree.c Plug mem leaks in gdbus tests & examples 2010-05-15 00:12:18 +02:00
gdbus-example-unix-fd-client.c Clean up platform-specific includes 2010-05-13 20:29:04 -04:00
gdbus-example-watch-name.c Strip copyright headers from examples 2010-05-11 15:50:19 -04:00
gdbus-example-watch-proxy.c Plug mem leaks in gdbus tests & examples 2010-05-15 00:12:18 +02:00
gdbus-exit-on-close.c More copyright year updates 2010-05-10 08:07:28 -04:00
gdbus-export.c GDBusConnection.call(): add 'reply_type' argument 2010-05-24 17:00:04 -04:00
gdbus-introspection.c Plug mem leaks in gdbus tests & examples 2010-05-15 00:12:18 +02:00
gdbus-names.c GDBusConnection.call(): add 'reply_type' argument 2010-05-24 17:00:04 -04:00
gdbus-peer.c Bug 619142 – Build fixes 2010-05-20 10:53:08 -04:00
gdbus-proxy.c Plug mem leaks in gdbus tests & examples 2010-05-15 00:12:18 +02:00
gdbus-serialization.c GDBus: Fix serialization of empty arrays 2010-05-14 12:56:09 -04:00
gdbus-sessionbus.c More copyright year updates 2010-05-10 08:07:28 -04:00
gdbus-sessionbus.h Initial GDBus code-drop from GDBus-standalone repo 2010-05-06 14:21:32 -04:00
gdbus-tests.c GDBus: Add GDBusAuthObserver param in g_dbus_connection_new_for_address() 2010-05-13 16:32:11 -04:00
gdbus-tests.h Initial GDBus code-drop from GDBus-standalone repo 2010-05-06 14:21:32 -04:00
gdbus-testserver.py GDBus: Remove cached value if a property is invalidated 2010-05-14 12:56:09 -04:00
gdbus-threading.c GDBus: Big-endian fixes 2010-05-25 12:03:27 -04:00
gschema-compile.c Bug 620496 - schema compiler: reject invalid paths 2010-06-07 10:18:43 +02:00
gsettings.c Include the right header 2010-06-07 06:24:28 -04:00
httpd.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
live-g-file.c Don't fail a couple of tests when running as root 2010-02-22 19:54:38 +01:00
live-g-file.txt Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
Makefile.am Fix GApplication tests to run without a session bus 2010-06-09 23:44:13 -04:00
memory-input-stream.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
memory-output-stream.c Fix warnings 2010-06-09 10:32:12 +02:00
org.gtk.test.gschema Merge GSettings tests 2010-04-17 01:48:05 -04:00
org.gtk.test.gschema.xml Add testcase for g_settings_bind with [u]int64 properties 2010-04-19 10:00:03 -04:00
readwrite.c Test for unexisting files in $TMP and not in $HOME 2010-02-23 18:37:39 +01:00
resolver.c Bug 591216 - Warning building resolver.o 2009-11-11 23:21:48 -05:00
send-data.c Fix leaks in GSocketClient and GThreadedResolver 2009-07-23 16:27:01 -04:00
simple-async-result.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
sleepy-stream.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
socket-client.c remove broken useless initialization in socket-client/socket-server 2010-05-07 19:08:13 -04:00
socket-common.c gio/tests/socket-client, socket-server: fix for win32 2010-04-23 12:24:30 -04:00
socket-server.c remove broken useless initialization in socket-client/socket-server 2010-05-07 19:08:13 -04:00
srvtarget.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
testapp.c Rewrite apps test to ensure children are killed 2010-06-10 13:14:29 -04:00
testapps.c Rewrite apps test to ensure children are killed 2010-06-10 13:14:29 -04:00
unix-fd.c GUnixSocketAddress: handle abstract sockets with non-0-padded names 2010-04-22 11:54:41 -04:00
unix-streams.c Fix compilation warning: Initialize the variable 2009-11-17 20:44:16 +01:00
win32-streams.c Add GWin32InputStream and GWin32OutputStream classes 2010-04-19 11:54:56 +03:00