summaryrefslogtreecommitdiff
path: root/modules/unistr/u8-strnlen-tests
blob: 944d570724c2e898e27607268301c717e9102b40 (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-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
test_u8_strnlen_LDADD = $(LDADD) $(LIBUNISTRING)