aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-05-07 11:00:12 +0000
committerChristian Grothoff <christian@grothoff.org>2012-05-07 11:00:12 +0000
commitb0d51511ca3de428ff170ede36f0f0a4ea795433 (patch)
tree46acf41d9421a2aac296d39d39911d39ae788c4c /src
parent496bd38ea991a0b130a3d17675ac9c593d7a9b09 (diff)
-fix test if nls is not working -- OSX buildbot says hi
Diffstat (limited to 'src')
-rw-r--r--src/util/test_strings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/test_strings.c b/src/util/test_strings.c
index 570776a810..d361ce0b6a 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;
}