[mutter] tests/test-runner: Assorted style cleanup
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] tests/test-runner: Assorted style cleanup
- Date: Thu, 15 Jul 2021 12:40:53 +0000 (UTC)
commit 03242a4e2ad434c945abfaa3991aac95f19a2652
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Tue Mar 2 16:53:18 2021 +0100
tests/test-runner: Assorted style cleanup
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
src/tests/test-runner.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/tests/test-runner.c b/src/tests/test-runner.c
index 9d0c698807..9064699c1f 100644
--- a/src/tests/test-runner.c
+++ b/src/tests/test-runner.c
@@ -1027,7 +1027,8 @@ run_test (const char *filename,
return success;
}
-typedef struct {
+typedef struct
+{
int n_tests;
char **tests;
} RunTestsInfo;
@@ -1042,8 +1043,10 @@ run_tests (gpointer data)
g_print ("1..%d\n", info->n_tests);
for (i = 0; i < info->n_tests; i++)
- if (!run_test (info->tests[i], i + 1))
- success = FALSE;
+ {
+ if (!run_test (info->tests[i], i + 1))
+ success = FALSE;
+ }
meta_quit (success ? 0 : 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]