summaryrefslogtreecommitdiff
path: root/modules/unistr/u32-strnlen-tests
blob: 9e54c13c719c781ab62cf6b3fcf73ddf3e0ef3fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Files:
tests/unistr/test-u32-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-u32-strnlen
check_PROGRAMS += test-u32-strnlen
test_u32_strnlen_SOURCES = unistr/test-u32-strnlen.c
test_u32_strnlen_LDADD = $(LDADD) $(LIBUNISTRING)