summaryrefslogtreecommitdiff
path: root/modules/unistr/u16-strchr-tests
blob: 9ed85cc0ac6b45f9b68462b2b607f8532e601704 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Files:
tests/unistr/test-u16-strchr.c
tests/unistr/test-strchr.h
tests/zerosize-ptr.h
tests/macros.h
m4/mmap-anon.m4

Depends-on:
extensions
getpagesize
unistr/u16-set
unistr/u32-set
unistr/u32-to-u16

configure.ac:
gl_FUNC_MMAP_ANON
AC_CHECK_HEADERS_ONCE([sys/mman.h])
AC_CHECK_FUNCS_ONCE([mprotect])

Makefile.am:
TESTS += test-u16-strchr
check_PROGRAMS += test-u16-strchr
test_u16_strchr_SOURCES = unistr/test-u16-strchr.c
test_u16_strchr_LDADD = $(LDADD) $(LIBUNISTRING)