unit-test updates

This commit is contained in:
John Kerl 2015-09-21 22:48:10 -04:00
parent 831e8507a7
commit fc3db29412
3 changed files with 25 additions and 12 deletions

1
.gitignore vendored
View file

@ -66,6 +66,7 @@ getl
lemon_prepared
lrim
mlr-[0-9.]*.tar.*
test_argparse
test_byte_readers
test_join_bucket_keeper
test_lrec

View file

@ -4,6 +4,9 @@ libcli_la_SOURCES= \
argparse.h \
mlrcli.c \
mlrcli.h
libcli_la_LIBADD= \
../lib/libmlr.la
../containers/libcontainers.la
# TODO: causes circular dependency
#noinst_PROGRAMS= ap
@ -11,5 +14,13 @@ libcli_la_SOURCES= \
#ap_LDADD= ../containers/libcontainers.la ../lib/libmlr.la
#ap_SOURCES= argparse.c
AM_CFLAGS= -std=gnu99
TESTS= $(check_PROGRAMS)
check_PROGRAMS= test_argparse
test_argparse_CPPFLAGS= -D__TEST_ARGPARSE_MAIN__ ${AM_CPPFLAGS}
test_argparse_LDADD= ../lib/libmlr.la \
../containers/libcontainers.la \
libcli.la
AM_CPPFLAGS= -I${srcdir}/../
AM_CFLAGS= -std=gnu99

View file

@ -22,27 +22,28 @@ MAJOR: autoconfig
./dsls/filter_dsl_wrapper.c
./dsls/put_dsl_wrapper.c
w merge the pull request from wiz
! travis use autoconf
LEVELS:
* figure out a2x/xml/...
* manpage
* poki
* ... what else ...
DOC:
* separate mlrdoc build notes for build-a-release (autoreconf, xmllint, etc.)
vs. install-a-release (./configure)
* separate dependency lists (long & short)
* makefile.orig w/ notes (simpler to debug in the non-happy case, faster compiles)
along w/ mlrdoc note
* include lemon-generated .c/.h or not
* figure out a2x/xml/...
! Makefile.orig x 2 w/ notes in-tree & @ mlrdoc
* notes-to-self re new files: incl. test-files in c/test/Makefile.am
! Makefile.orig x 2 w/ notes in-tree & @ mlrdoc
* mlrvers.h <-> config.h; also ci a stub config.h for noac build
TO-DO:
* include lemon-generated .c/.h or not
* lemon in-dir -- cf wiz note
* mlrvers.h <-> config.h; also ci a stub config.h for noac build
----------------------------------------------------------------
MAJOR: multi-char separators