Added unit test for lighting command encoding and decoding.

This commit is contained in:
skarg
2013-11-14 20:21:46 +00:00
parent 5dd7159139
commit b363f9dedb
3 changed files with 87 additions and 5 deletions
+6 -1
View File
@@ -13,7 +13,7 @@ all: abort address arf awf bacapp bacdcode bacerror bacint bacstr \
cov crc datetime dcc event filename fifo getevent iam ihave \
indtext keylist key memcopy npdu proplist ptransfer \
rd reject ringbuf rp rpm sbuf timesync \
whohas whois wp objects
whohas whois wp objects lighting
clean: logfile
rm ${LOGFILE}
@@ -131,6 +131,11 @@ key: logfile test/key.mak
( ./test/key >> ${LOGFILE} )
$(MAKE) -s -C test -f key.mak clean
lighting: lighting test/lighting.mak
$(MAKE) -s -C test -f lighting.mak clean all
( ./test/lighting >> ${LOGFILE} )
$(MAKE) -s -C test -f lighting.mak clean
memcopy: logfile test/memcopy.mak
$(MAKE) -s -C test -f memcopy.mak clean all
( ./test/memcopy >> ${LOGFILE} )