Tests for module 'unistr/u8-strnlen'.
[gnulib.git] / modules / unistr / u8-strnlen-tests
diff --git a/modules/unistr/u8-strnlen-tests b/modules/unistr/u8-strnlen-tests
new file mode 100644 (file)
index 0000000..a60d2b9
--- /dev/null
@@ -0,0 +1,20 @@
+Files:
+tests/unistr/test-u8-strnlen.c
+tests/unistr/test-strnlen.h
+tests/zerosize-ptr.h
+tests/macros.h
+m4/mmap-anon.m4
+
+Depends-on:
+extensions
+getpagesize
+
+configure.ac:
+gl_FUNC_MMAP_ANON
+AC_CHECK_HEADERS_ONCE([sys/mman.h])
+AC_CHECK_FUNCS_ONCE([mprotect])
+
+Makefile.am:
+TESTS += test-u8-strnlen
+check_PROGRAMS += test-u8-strnlen
+test_u8_strnlen_SOURCES = unistr/test-u8-strnlen.c