Skip to content

Commit

Permalink
remove unused ebusfeed
Browse files Browse the repository at this point in the history
  • Loading branch information
john30 committed Nov 10, 2021
1 parent 0660677 commit b4ca4d9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 26 deletions.
1 change: 0 additions & 1 deletion make_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ echo " pack"
echo "*************"
echo
mkdir -p $RELEASE/DEBIAN $RELEASE/etc/default $RELEASE/etc/logrotate.d || exit 1
rm $RELEASE/usr/bin/ebusfeed
mkdir -p $RELEASE/lib/systemd/system || exit 1
cp contrib/debian/systemd/ebusd.service $RELEASE/lib/systemd/system/ebusd.service || exit 1
mkdir -p $RELEASE/etc/init.d || exit 1
Expand Down
7 changes: 0 additions & 7 deletions src/tools/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
set(ebusctl_SOURCES ebusctl.cpp)
set(ebusfeed_SOURCES ebusfeed.cpp)
set(ebuspicloader_SOURCES ebuspicloader.cpp intelhex/intelhexclass.cpp)

if(HAVE_CONTRIB)
set(ebusfeed_LIBS ${ebusfeed_LIBS} ebuscontrib)
endif(HAVE_CONTRIB)

include_directories(../lib/ebus)
include_directories(../lib/utils)
include_directories(intelhex)

add_executable(ebusctl ${ebusctl_SOURCES})
add_executable(ebusfeed ${ebusfeed_SOURCES})
add_executable(ebuspicloader ${ebuspicloader_SOURCES})
target_link_libraries(ebusctl utils ebus ${LIB_ARGP} ${ebusctl_LIBS})
target_link_libraries(ebusfeed ebus ${LIB_ARGP} ${ebusfeed_LIBS})
target_link_libraries(ebuspicloader ${LIB_ARGP})

install(TARGETS ebusctl ebuspicloader EXPORT ebusd DESTINATION usr/bin)
9 changes: 0 additions & 9 deletions src/tools/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,13 @@ AM_CXXFLAGS = -I$(top_srcdir)/src \
-isystem$(top_srcdir)

bin_PROGRAMS = ebusctl \
ebusfeed \
ebuspicloader

ebusctl_SOURCES = ebusctl.cpp
ebusctl_LDADD = ../lib/utils/libutils.a

ebusfeed_SOURCES = ebusfeed.cpp
ebusfeed_LDADD = ../lib/utils/libutils.a \
../lib/ebus/libebus.a

ebuspicloader_SOURCES = ebuspicloader.cpp intelhex/intelhexclass.cpp

if CONTRIB
ebusfeed_LDADD += ../lib/ebus/contrib/libebuscontrib.a
endif

distclean-local:
-rm -f Makefile.in
-rm -rf .libs
9 changes: 0 additions & 9 deletions test_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,6 @@ EOF
./src/ebusd/ebusd -c contrib/etc/ebusd --checkconfig >/dev/null
rm -f contrib/etc/ebusd/bad.csv
echo > dump
./src/tools/ebusfeed -d tcp:127.0.0.1:8876 -t 10000 dump >/dev/null 2>/dev/null
./src/tools/ebusfeed -d tcp:127.0.0.1:99999 dump >/dev/null 2>/dev/null
./src/tools/ebusfeed -d udp:127.0.0.1:8876 -t 10000 dump >/dev/null 2>/dev/null
./src/tools/ebusfeed -d udp:127.0.0.1:8876 -t 10000 nonexistdump >/dev/null 2>/dev/null
./src/tools/ebusfeed -d "" >/dev/null 2>/dev/null
./src/tools/ebusfeed -t 1 >/dev/null 2>/dev/null
./src/tools/ebusfeed "" >/dev/null 2>/dev/null
./src/tools/ebusfeed 1 2 >/dev/null 2>/dev/null
./src/tools/ebusfeed -x >/dev/null 2>/dev/null
./src/tools/ebusctl -s testserver -p 100000 >/dev/null 2>/dev/null
./src/tools/ebusctl -s "" >/dev/null 2>/dev/null
./src/tools/ebusctl -p "" >/dev/null 2>/dev/null
Expand Down

0 comments on commit b4ca4d9

Please sign in to comment.