mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
testsuite: Make performance test fail
If a child process exits unsuccessfully, make the performance test fail.
This commit is contained in:
parent
81ddf4b946
commit
e9e4bd423a
@ -91,6 +91,9 @@ main (int argc, char *argv[])
|
||||
if (!g_subprocess_wait (subprocess, NULL, &error))
|
||||
g_error ("Run child: %s", error->message);
|
||||
|
||||
if (!g_subprocess_get_successful (subprocess))
|
||||
g_error ("Child process failed");
|
||||
|
||||
g_object_unref (subprocess);
|
||||
g_object_unref (launcher);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user