File: u8-strchr-tests

package info (click to toggle)
pspp 0.7.9%2Bgit20120620-1.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 71,980 kB
  • sloc: ansic: 384,310; sh: 22,024; cpp: 1,445; yacc: 1,251; perl: 903; lisp: 868; makefile: 358; xml: 182; java: 5
file content (24 lines) | stat: -rw-r--r-- 467 bytes parent folder | download | duplicates (8)
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-u8-strchr.c
tests/unistr/test-strchr.h
tests/zerosize-ptr.h
tests/macros.h
m4/mmap-anon.m4

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

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

Makefile.am:
TESTS += test-u8-strchr
check_PROGRAMS += test-u8-strchr
test_u8_strchr_SOURCES = unistr/test-u8-strchr.c
test_u8_strchr_LDADD = $(LDADD) $(LIBUNISTRING)