[glib] gtestutils: rename test_skip_count to test_startup_skip_count
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gtestutils: rename test_skip_count to test_startup_skip_count
- Date: Wed, 18 Dec 2013 16:29:34 +0000 (UTC)
commit 10d82f9775a91c2c4c1eddb17c2e0d08d79310ec
Author: Dan Winship <danw gnome org>
Date: Wed Dec 18 09:29:29 2013 -0500
gtestutils: rename test_skip_count to test_startup_skip_count
https://bugzilla.gnome.org/show_bug.cgi?id=720263
glib/gtestutils.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/glib/gtestutils.c b/glib/gtestutils.c
index c8a601c..996af27 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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]