summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2011-03-11 07:03:29 -0500
committerDan Winship <danw@gnome.org>2011-03-11 07:03:29 -0500
commitb4503671b1f2b5a907dc7a44c07dbc473f680282 (patch)
tree89738ec3f792020d33db32709253bddd6ac5ca22
parent3ed4ea046fdc4c41c8191225c7da05a04e5a4245 (diff)
downloadlibsoup-b4503671b1f2b5a907dc7a44c07dbc473f680282.tar.gz
tests: remove a redundant GOptionEntry flag that now causes a warning
-rw-r--r--tests/forms-test.c2
-rw-r--r--tests/redirect-test.c2
-rw-r--r--tests/server-auth-test.c2
-rw-r--r--tests/xmlrpc-server-test.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/forms-test.c b/tests/forms-test.c
index 6cdc6ad2..4c2846e6 100644
--- a/tests/forms-test.c
+++ b/tests/forms-test.c
@@ -422,7 +422,7 @@ md5_callback (SoupServer *server, SoupMessage *msg,
static gboolean run_tests = TRUE;
static GOptionEntry no_test_entry[] = {
- { "no-tests", 'n', G_OPTION_FLAG_NO_ARG | G_OPTION_FLAG_REVERSE,
+ { "no-tests", 'n', G_OPTION_FLAG_REVERSE,
G_OPTION_ARG_NONE, &run_tests,
"Don't run tests, just run the test server", NULL },
{ NULL }
diff --git a/tests/redirect-test.c b/tests/redirect-test.c
index 63a92c1f..f99d9c77 100644
--- a/tests/redirect-test.c
+++ b/tests/redirect-test.c
@@ -334,7 +334,7 @@ server2_callback (SoupServer *server, SoupMessage *msg,
static gboolean run_tests = TRUE;
static GOptionEntry no_test_entry[] = {
- { "no-tests", 'n', G_OPTION_FLAG_NO_ARG | G_OPTION_FLAG_REVERSE,
+ { "no-tests", 'n', G_OPTION_FLAG_REVERSE,
G_OPTION_ARG_NONE, &run_tests,
"Don't run tests, just run the test server", NULL },
{ NULL }
diff --git a/tests/server-auth-test.c b/tests/server-auth-test.c
index 4122b166..89e59436 100644
--- a/tests/server-auth-test.c
+++ b/tests/server-auth-test.c
@@ -320,7 +320,7 @@ request_started_callback (SoupServer *server, SoupMessage *msg,
static gboolean run_tests = TRUE;
static GOptionEntry no_test_entry[] = {
- { "no-tests", 'n', G_OPTION_FLAG_NO_ARG | G_OPTION_FLAG_REVERSE,
+ { "no-tests", 'n', G_OPTION_FLAG_REVERSE,
G_OPTION_ARG_NONE, &run_tests,
"Don't run tests, just run the test server", NULL },
{ NULL }
diff --git a/tests/xmlrpc-server-test.c b/tests/xmlrpc-server-test.c
index 02751f18..9eae702a 100644
--- a/tests/xmlrpc-server-test.c
+++ b/tests/xmlrpc-server-test.c
@@ -301,7 +301,7 @@ do_xmlrpc_tests (SoupURI *uri)
gboolean run_tests = TRUE;
static GOptionEntry no_test_entry[] = {
- { "no-tests", 'n', G_OPTION_FLAG_NO_ARG | G_OPTION_FLAG_REVERSE,
+ { "no-tests", 'n', G_OPTION_FLAG_REVERSE,
G_OPTION_ARG_NONE, &run_tests,
"Don't run tests, just run the test server", NULL },
{ NULL }