aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/test_strings.c')
-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 570776a..b662623 100644
--- a/src/util/test_strings.c
+++ b/src/util/test_strings.c
@@ -97,10 +97,12 @@ 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);
WANT ("TEST", b);
+#endif
return 0;
}