From 10d82f9775a91c2c4c1eddb17c2e0d08d79310ec Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 18 Dec 2013 09:29:29 -0500 Subject: [PATCH] gtestutils: rename test_skip_count to test_startup_skip_count https://bugzilla.gnome.org/show_bug.cgi?id=720263 --- glib/gtestutils.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/glib/gtestutils.c b/glib/gtestutils.c index c8a601c27..996af276f 100644 --- a/glib/gtestutils.c +++ b/glib/gtestutils.c @@ -609,7 +609,7 @@ static guint test_run_forks = 0; static guint test_run_count = 0; static GTestResult test_run_success = G_TEST_RUN_FAILURE; static gchar *test_run_msg = NULL; -static guint test_skip_count = 0; +static guint test_startup_skip_count = 0; static GTimer *test_user_timer = NULL; static double test_user_stamp = 0; static GSList *test_paths = NULL; @@ -869,11 +869,11 @@ parse_args (gint *argc_p, { gchar *equal = argv[i] + 16; if (*equal == '=') - test_skip_count = g_ascii_strtoull (equal + 1, NULL, 0); + test_startup_skip_count = g_ascii_strtoull (equal + 1, NULL, 0); else if (i + 1 < argc) { argv[i++] = NULL; - test_skip_count = g_ascii_strtoull (argv[i], NULL, 0); + test_startup_skip_count = g_ascii_strtoull (argv[i], NULL, 0); } argv[i] = NULL; } @@ -2063,7 +2063,7 @@ test_case_run (GTestCase *tc) } } - if (++test_run_count <= test_skip_count) + if (++test_run_count <= test_startup_skip_count) g_test_log (G_TEST_LOG_SKIP_CASE, test_run_name, NULL, 0, NULL); else if (test_run_list) {