From: Matthias Clasen Date: Wed, 22 Jan 2020 00:55:08 +0000 (-0500) Subject: testsuite: Make performance test fail X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~20^2~243^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e9e4bd423a2d9a60340474bdf84151d1941df378;p=gtk4.git testsuite: Make performance test fail If a child process exits unsuccessfully, make the performance test fail. --- diff --git a/testsuite/css/performance/test-css-performance.c b/testsuite/css/performance/test-css-performance.c index 27b9d623aa..40d996ddc2 100644 --- a/testsuite/css/performance/test-css-performance.c +++ b/testsuite/css/performance/test-css-performance.c @@ -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);