removed tsm unit test - which was doing nothing...
This commit is contained in:
@@ -3,7 +3,7 @@ LOGFILE = test.log
|
||||
all: abort address arf awf bacapp bacdcode bacerror bacint \
|
||||
bacstr cov crc datetime dcc filename iam ihave \
|
||||
indtext keylist key mstp npdu rd reject ringbuf rp \
|
||||
rpm sbuf timesync tsm whohas whois wp
|
||||
rpm sbuf timesync whohas whois wp
|
||||
|
||||
clean:
|
||||
rm ${LOGFILE}
|
||||
@@ -179,12 +179,6 @@ timesync: logfile test/timesync.mak
|
||||
( ./test/timesync >> ${LOGFILE} )
|
||||
( cd test ; make -f timesync.mak clean )
|
||||
|
||||
tsm: logfile test/tsm.mak
|
||||
( cd test ; make -f tsm.mak clean )
|
||||
( cd test ; make -f tsm.mak )
|
||||
( ./test/tsm >> ${LOGFILE} )
|
||||
( cd test ; make -f tsm.mak clean )
|
||||
|
||||
whohas: logfile test/whohas.mak
|
||||
( cd test ; make -f whohas.mak clean )
|
||||
( cd test ; make -f whohas.mak )
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
#Makefile to build test case
|
||||
CC = gcc
|
||||
SRC_DIR = ../src
|
||||
DEMO_OBJECT_DIR = ../demo/object
|
||||
INCLUDES = -I../include -I.
|
||||
DEFINES = -DBIG_ENDIAN=0 -DTEST -DBACAPP_ALL -DBACDL_TEST -DTEST_TSM
|
||||
|
||||
CFLAGS = -Wall $(INCLUDES) $(DEFINES) -g
|
||||
|
||||
SRCS = $(SRC_DIR)/bacdcode.c \
|
||||
$(SRC_DIR)/bacint.c \
|
||||
$(SRC_DIR)/bacstr.c \
|
||||
$(SRC_DIR)/bacreal.c \
|
||||
$(SRC_DIR)/bacerror.c \
|
||||
$(SRC_DIR)/bacapp.c \
|
||||
$(SRC_DIR)/bacaddr.c \
|
||||
$(SRC_DIR)/bactext.c \
|
||||
$(SRC_DIR)/indtext.c \
|
||||
$(SRC_DIR)/datetime.c \
|
||||
$(SRC_DIR)/iam.c \
|
||||
$(SRC_DIR)/dcc.c \
|
||||
$(SRC_DIR)/npdu.c \
|
||||
$(SRC_DIR)/apdu.c \
|
||||
$(SRC_DIR)/version.c \
|
||||
$(SRC_DIR)/tsm.c \
|
||||
$(DEMO_OBJECT_DIR)/device.c \
|
||||
$(DEMO_OBJECT_DIR)/ai.c \
|
||||
$(DEMO_OBJECT_DIR)/ao.c \
|
||||
$(DEMO_OBJECT_DIR)/av.c \
|
||||
$(DEMO_OBJECT_DIR)/bi.c \
|
||||
$(DEMO_OBJECT_DIR)/bo.c \
|
||||
$(DEMO_OBJECT_DIR)/bv.c \
|
||||
$(DEMO_OBJECT_DIR)/lsp.c \
|
||||
$(DEMO_OBJECT_DIR)/mso.c \
|
||||
$(DEMO_OBJECT_DIR)/lc.c \
|
||||
ctest.c
|
||||
|
||||
TARGET = tsm
|
||||
|
||||
all: ${TARGET}
|
||||
|
||||
OBJS = ${SRCS:.c=.o}
|
||||
|
||||
${TARGET}: ${OBJS}
|
||||
${CC} -o $@ ${OBJS}
|
||||
|
||||
.c.o:
|
||||
${CC} -c ${CFLAGS} $*.c -o $@
|
||||
|
||||
depend:
|
||||
rm -f .depend
|
||||
${CC} -MM ${CFLAGS} *.c >> .depend
|
||||
|
||||
clean:
|
||||
rm -rf core ${TARGET} $(OBJS) *.bak *.1 *.ini
|
||||
|
||||
include: .depend
|
||||
Reference in New Issue
Block a user