summaryrefslogtreecommitdiff
path: root/modules/unistr
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-01-10 15:39:11 +0100
committerBruno Haible <bruno@clisp.org>2010-01-10 23:13:01 +0100
commit2244a52d6b80511c06d7dd7090c8847563e8e8f8 (patch)
tree956d5a0f1cacd51d7e852cb237c2733ddd911545 /modules/unistr
parent1bea69a844435151ceedb06589a6053972376c86 (diff)
downloadgnulib-2244a52d6b80511c06d7dd7090c8847563e8e8f8.tar.gz
Tests for module 'unistr/u32-chr'.
Diffstat (limited to 'modules/unistr')
-rw-r--r--modules/unistr/u32-chr-tests21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/unistr/u32-chr-tests b/modules/unistr/u32-chr-tests
new file mode 100644
index 0000000000..beca859d57
--- /dev/null
+++ b/modules/unistr/u32-chr-tests
@@ -0,0 +1,21 @@
+Files:
+tests/unistr/test-u32-chr.c
+tests/unistr/test-chr.h
+tests/zerosize-ptr.h
+tests/macros.h
+m4/mmap-anon.m4
+
+Depends-on:
+extensions
+getpagesize
+unistr/u32-set
+
+configure.ac:
+gl_FUNC_MMAP_ANON
+AC_CHECK_HEADERS_ONCE([sys/mman.h])
+AC_CHECK_FUNCS_ONCE([mprotect])
+
+Makefile.am:
+TESTS += test-u32-chr
+check_PROGRAMS += test-u32-chr
+test_u32_chr_SOURCES = unistr/test-u32-chr.c