From e9e4bd423a2d9a60340474bdf84151d1941df378 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 21 Jan 2020 19:55:08 -0500 Subject: testsuite: Make performance test fail If a child process exits unsuccessfully, make the performance test fail. --- testsuite/css/performance/test-css-performance.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.1