mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 15:33:39 +02:00
gtestutils: Add G_TEST_SUBPROCESS_DEFAULT, G_TEST_TRAP_DEFAULT
This makes calls to test subprocesses with default behaviour more self-documenting. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
@@ -38,7 +38,7 @@ test_schema (gpointer data)
|
||||
gchar *child_name;
|
||||
|
||||
child_name = g_strdup_printf ("/gschema/%s%s/subprocess/do_compile", test->name, test->opt ? "/opt" : "");
|
||||
g_test_trap_subprocess (child_name, 0, 0);
|
||||
g_test_trap_subprocess (child_name, 0, G_TEST_SUBPROCESS_DEFAULT);
|
||||
g_free (child_name);
|
||||
|
||||
if (test->err)
|
||||
|
Reference in New Issue
Block a user