mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
tests/test-runner: Assorted style cleanup
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
This commit is contained in:
parent
e09de6787f
commit
03242a4e2a
@ -1027,7 +1027,8 @@ run_test (const char *filename,
|
|||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef struct {
|
typedef struct
|
||||||
|
{
|
||||||
int n_tests;
|
int n_tests;
|
||||||
char **tests;
|
char **tests;
|
||||||
} RunTestsInfo;
|
} RunTestsInfo;
|
||||||
@ -1042,8 +1043,10 @@ run_tests (gpointer data)
|
|||||||
g_print ("1..%d\n", info->n_tests);
|
g_print ("1..%d\n", info->n_tests);
|
||||||
|
|
||||||
for (i = 0; i < info->n_tests; i++)
|
for (i = 0; i < info->n_tests; i++)
|
||||||
|
{
|
||||||
if (!run_test (info->tests[i], i + 1))
|
if (!run_test (info->tests[i], i + 1))
|
||||||
success = FALSE;
|
success = FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
meta_quit (success ? 0 : 1);
|
meta_quit (success ? 0 : 1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user