From f06cfa2967e05220f260ad6c158181841e0b8a79 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 10 Jun 2023 20:20:10 +0200 Subject: [PATCH] testsuite: Print update after changes, not before This way, we don't do an empty print at the start and don't miss a print at the end. --- testsuite/gtk/listitemmanager.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testsuite/gtk/listitemmanager.c b/testsuite/gtk/listitemmanager.c index 0d74e8c995..e11e3f85e0 100644 --- a/testsuite/gtk/listitemmanager.c +++ b/testsuite/gtk/listitemmanager.c @@ -433,9 +433,6 @@ test_exhaustive (void) gboolean add = FALSE, remove = FALSE; guint position, n_items; - if (g_test_verbose ()) - print_list_item_manager_tiles (items); - switch (g_test_rand_int_range (0, 6)) { case 0: @@ -509,6 +506,9 @@ test_exhaustive (void) { g_list_store_remove (store, position); } + + if (g_test_verbose ()) + print_list_item_manager_tiles (items); } check_list_item_manager (items, widget, trackers, N_TRACKERS);