Skip to content

Commit

Permalink
Remove all old testing from src/libais
Browse files Browse the repository at this point in the history
  • Loading branch information
schwehr committed Jun 9, 2015
1 parent 09f93c1 commit a2b3c0d
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 759 deletions.
2 changes: 1 addition & 1 deletion src/Makefile-custom
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ clean:

.PHONY: test
test:
(cd libais && make -f Makefile-custom test)
(cd libais && make -f Makefile-custom)
(cd test && make -f Makefile-custom test)
29 changes: 3 additions & 26 deletions src/libais/Makefile-custom
Original file line number Diff line number Diff line change
Expand Up @@ -89,25 +89,16 @@ SRCS += ais27.cpp
#SRCS += ais28.cpp
OBJS := ${SRCS:.cpp=.o}

all: libais.a test_libais
./test_libais
all: libais.a

libais.a: ${OBJS}
ls ${OBJS}
ar rv $@ $?
ranlib $@

clean:
-rm -rf *.o *.a *.pyc test_libais
-rm -rf *.d *_unittest *.dSYM

test: libais.a test_libais
./test_libais

test_libais: ${OBJS} test_libais.cpp ais.h
@echo SRCS: ${SRCS}
@echo OBJS: ${OBJS}
${CXX} -o $@ ${OBJS} test_libais.cpp ${CXXFLAGS}
-rm -rf *.o *.a *.pyc
-rm -rf *.d *.dSYM

ais_decode_normed: ${OBJS} ais_decode_normed.o ais.h
@echo SRCS: ${SRCS}
Expand Down Expand Up @@ -140,17 +131,3 @@ ais25.o: ais.h
ais26.o: ais.h
ais27.o: ais.h
ais_py.o: ais.h
test_libais.o: ais.h

test2: ais1_2_3_unittest ais8_1_22_unittest
#ais8_1_22_unittest

#LDFLAGS:=-L${FINK}/lib
#GTESTFLAGS := ${shell gtest-config --cppflags --cxxflags --ldflags --libs}
ais8_1_22_unittest: ais8_1_22_unittest.cpp ais8_1_22.cpp ais.cpp ais8.cpp
${CXX} -m32 -g ${WARN} $^ -o $@ ${GTESTFLAGS} -lgtest_main -lpthread
./$@

ais1_2_3_unittest: ais1_2_3_unittest.cpp ais.cpp ais1_2_3.cpp
${CXX} -m32 -g ${WARN} $^ -o $@ ${GTESTFLAGS} -lgtest_main -lpthread
./$@
111 changes: 0 additions & 111 deletions src/libais/ais1_2_3_unittest.cpp

This file was deleted.

37 changes: 0 additions & 37 deletions src/libais/ais8_1_22_unittest.cpp

This file was deleted.

Loading

0 comments on commit a2b3c0d

Please sign in to comment.