-fix test if nls is not working -- OSX buildbot says hi
authorChristian Grothoff <christian@grothoff.org>
Mon, 7 May 2012 11:00:12 +0000 (11:00 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 7 May 2012 11:00:12 +0000 (11:00 +0000)
src/util/test_strings.c

index 570776a8109e2da80b634743bd9c01b482892fbe..d361ce0b6a0fe0f6ea2e457e1df8e58f83281769 100644 (file)
@@ -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;
 }