tests: add msgbuf_unparse tests

This commit is contained in:
Simon Arlott 2017-07-28 18:34:46 +01:00
parent 17ea888046
commit 108699df3c
No known key found for this signature in database
GPG key ID: C8975F2043CA5D24
4 changed files with 2953 additions and 0 deletions

1
.gitignore vendored
View file

@ -57,6 +57,7 @@ ircd/version.c.last
ssld/ssld
wsockd/wsockd
tests/msgbuf_parse1
tests/msgbuf_unparse1
tests/substitution1
tests/runtests
testsuite/ircd.pid.*

View file

@ -1,5 +1,6 @@
check_PROGRAMS = runtests \
msgbuf_parse1 \
msgbuf_unparse1 \
substitution1
AM_CFLAGS=$(WARNFLAGS)
AM_CPPFLAGS = $(DEFAULT_INCLUDES) -I../librb/include -I..
@ -16,6 +17,7 @@ tap_libtap_a_SOURCES = tap/basic.c tap/basic.h \
tap/float.c tap/float.h tap/macros.h
msgbuf_parse1_SOURCES = msgbuf_parse1.c
msgbuf_unparse1_SOURCES = msgbuf_unparse1.c
substitution1_SOURCES = substitution1.c
check-local: $(check_PROGRAMS)

View file

@ -1,2 +1,3 @@
msgbuf_parse1
msgbuf_unparse1
substitution1

2949
tests/msgbuf_unparse1.c Normal file

File diff suppressed because it is too large Load diff