[libgfbgraph/stable-0.2.x] tests/gtestutils: temporarily disable testcases
- From: Leesoo Ahn <yisooan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgfbgraph/stable-0.2.x] tests/gtestutils: temporarily disable testcases
- Date: Fri, 15 Oct 2021 12:35:23 +0000 (UTC)
commit af7b4b83d15b65952e712a54fe1eb2087b51486e
Author: Leesoo Ahn <lsahn ooseel net>
Date: Fri Oct 15 21:24:36 2021 +0900
tests/gtestutils: temporarily disable testcases
gtestutils requires a credential file to test all features it covers.
However, the file couldn't be set up unless using personal accounts of
facebook and therefore it makes a failure[1] and affects to 'make distcheck'[2].
For sure, it must be fixed but until we find a solution, the tests are
disabled temporarily.
[1]: https://gitlab.gnome.org/GNOME/libgfbgraph/-/issues/9
[2]: https://gitlab.gnome.org/GNOME/libgfbgraph/-/issues/7
tests/gtestutils.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/tests/gtestutils.c b/tests/gtestutils.c
index eef4529..39b1fe5 100644
--- a/tests/gtestutils.c
+++ b/tests/gtestutils.c
@@ -248,6 +248,7 @@ main (int argc, char **argv)
g_log_set_always_fatal (G_LOG_LEVEL_ERROR | G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL |
G_LOG_LEVEL_CRITICAL);
+#if 0
app = gfbgraph_test_app_setup ();
g_test_add ("/GFBGraph/Me",
@@ -257,7 +258,6 @@ main (int argc, char **argv)
gfbgraph_test_me,
gfbgraph_test_fixture_teardown);
-#if 0
g_test_add ("/GFBGraph/Album",
GFBGraphTestFixture,
app,
@@ -268,6 +268,7 @@ main (int argc, char **argv)
test_result = g_test_run ();
+#if 0
if (app) {
if (app->client_id)
g_free (app->client_id);
@@ -277,6 +278,7 @@ main (int argc, char **argv)
g_free (app->access_token);
g_free (app);
}
+#endif
return test_result;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]