testsuite: rename 'wait' function to 'timed_loop'

When compiling for macOS, CLang errors out because a non-static
wait function is declared in sys/wait.h.
This commit is contained in:
Luca Bacci 2023-05-26 17:46:08 +02:00
parent d642072603
commit 703494c7fa

View File

@ -78,7 +78,7 @@ quit_iteration_loop (gpointer user_data)
}
static void
wait (guint millis)
timed_loop (guint millis)
{
gboolean keep_running = TRUE;
@ -145,7 +145,7 @@ generate_focus_chain (GtkWidget *window,
}
g_string_append_printf (output, "%s\n", name);
wait (100);
timed_loop (100);
count++;
if (!first)