From b0d51511ca3de428ff170ede36f0f0a4ea795433 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 7 May 2012 11:00:12 +0000 Subject: [PATCH] -fix test if nls is not working -- OSX buildbot says hi --- src/util/test_strings.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/test_strings.c b/src/util/test_strings.c index 570776a81..d361ce0b6 100644 --- a/src/util/test_strings.c +++ b/src/util/test_strings.c @@ -97,9 +97,11 @@ check () GNUNET_free (r); b = GNUNET_STRINGS_to_utf8 ("TEST", 4, "ASCII"); WANT ("TEST", b); +#if ENABLE_NLS && HAVE_ICONV GNUNET_log_skip (2, GNUNET_NO); b = GNUNET_STRINGS_to_utf8 ("TEST", 4, "unknown"); GNUNET_log_skip (0, GNUNET_YES); +#endif WANT ("TEST", b); return 0; } -- 2.25.1