view modules/parse-datetime-tests @ 14406:8d1ec7b0bc4d

parse-duration: remove xalloc.h dependency * lib/parse-duration.c (parse_period): handle NULL return from strdup instead of calling xstrdup(). * modules/parse-duration: remove "xalloc" dependency
author Bruce Korb <bkorb@gnu.org>
date Thu, 03 Mar 2011 15:07:32 -0800 (2011-03-03)
parents 896628c568fa
children
line wrap: on
line source
Files:
tests/test-parse-datetime.c
tests/macros.h

Depends-on:
progname
setenv

configure.ac:

Makefile.am:
TESTS += test-parse-datetime
check_PROGRAMS += test-parse-datetime
test_parse_datetime_LDADD = $(LDADD) @LIBINTL@ $(LIB_CLOCK_GETTIME)