diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2010-07-20 15:43:26 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2010-07-23 14:00:28 +0200 |
commit | ad9a24a121ab3154f30d9d38d8243f41566d151e (patch) | |
tree | fd40af8f3ee46b81d31352f573d9cc69218eded3 /modules/unistr/u32-strchr-tests | |
parent | 26947b67c9e1e45a836d81613d0c4fa2fe6cf51a (diff) | |
download | gnulib-ad9a24a121ab3154f30d9d38d8243f41566d151e.tar.gz |
unistr/u*-strchr: add tests
* modules/unistr/u16-strchr-tests, modules/unistr/u32-strchr-tests,
modules/unistr/u8-strchr-tests, tests/unistr/test-strchr.h,
tests/unistr/test-u16-strchr.c, tests/unistr/test-u32-strchr.c,
tests/unistr/test-u8-strchr.c: New files.
Diffstat (limited to 'modules/unistr/u32-strchr-tests')
-rw-r--r-- | modules/unistr/u32-strchr-tests | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/unistr/u32-strchr-tests b/modules/unistr/u32-strchr-tests new file mode 100644 index 0000000000..f8278e921a --- /dev/null +++ b/modules/unistr/u32-strchr-tests @@ -0,0 +1,22 @@ +Files: +tests/unistr/test-u32-strchr.c +tests/unistr/test-strchr.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-strchr +check_PROGRAMS += test-u32-strchr +test_u32_strchr_SOURCES = unistr/test-u32-strchr.c +test_u32_strchr_LDADD = $(LDADD) $(LIBUNISTRING) |