testsuite: Make performance test fail

If a child process exits unsuccessfully,
make the performance test fail.
This commit is contained in:
Matthias Clasen 2020-01-21 19:55:08 -05:00
parent 81ddf4b946
commit e9e4bd423a

View File

@ -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);