[evolution-data-server/openismus-work] e-phone-utils-test.c: Disabling the match assertion if ENABLE_PHONENUMBER is not defined.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/openismus-work] e-phone-utils-test.c: Disabling the match assertion if ENABLE_PHONENUMBER is not defined.
- Date: Thu, 31 Jan 2013 08:06:17 +0000 (UTC)
commit 2cc0c3b60ef1109359a2f1cdbd209eb4e6a33073
Author: Tristan Van Berkom <tristanvb openismus com>
Date: Thu Jan 31 15:37:02 2013 +0900
e-phone-utils-test.c: Disabling the match assertion if ENABLE_PHONENUMBER is not defined.
tests/libedataserver/e-phone-utils-test.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/libedataserver/e-phone-utils-test.c b/tests/libedataserver/e-phone-utils-test.c
index 537c43d..051b4c2 100644
--- a/tests/libedataserver/e-phone-utils-test.c
+++ b/tests/libedataserver/e-phone-utils-test.c
@@ -204,7 +204,9 @@ test_compare_numbers (gconstpointer data)
match_candidates[j],
&error);
+#ifdef ENABLE_PHONENUMBER
g_assert_cmpuint (actual_match, ==, expected_matches[n]);
+#endif /* ENABLE_PHONENUMBER */
if (!error_expected) {
g_assert (error == NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]