summaryrefslogtreecommitdiff
path: root/modules/unistr/u8-strnlen-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-01-10 20:12:20 +0100
committerBruno Haible <bruno@clisp.org>2010-01-10 23:13:05 +0100
commitbab19390fb6043d6a0a9c1a345b91b2c789b225d (patch)
treee9c9f7ed810bc1ab15680c3730deef42392b9dbb /modules/unistr/u8-strnlen-tests
parentfd76d6ef83ff0371f7dea7e1bbd391c98adb3d16 (diff)
downloadgnulib-bab19390fb6043d6a0a9c1a345b91b2c789b225d.tar.gz
Tests for module 'unistr/u8-strnlen'.
Diffstat (limited to 'modules/unistr/u8-strnlen-tests')
-rw-r--r--modules/unistr/u8-strnlen-tests20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/unistr/u8-strnlen-tests b/modules/unistr/u8-strnlen-tests
new file mode 100644
index 0000000000..a60d2b911f
--- /dev/null
+++ b/modules/unistr/u8-strnlen-tests
@@ -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