Introduce 'test' target, add /proc/net/tcp parsing to it

The test itself doesn't do much yet, but might shed some light on what's going
on in https://github.com/raboof/nethogs/issues/22
This commit is contained in:
Arnout Engelen
2016-03-27 21:33:10 +02:00
parent c266593ab7
commit 240307d1fe
6 changed files with 48091 additions and 12 deletions

View File

@@ -2,13 +2,10 @@ export VERSION := 0
export SUBVERSION := 8
export MINORVERSION := 2-SNAPSHOT
all: nethogs decpcap_test
all: nethogs decpcap_test test
$(MAKE) -f MakeApp.mk $@
$(MAKE) -f MakeLib.mk $@
runtests: test
./test
.PHONY:
tgz: clean
cd .. ; tar czvf nethogs-$(VERSION).$(SUBVERSION).$(MINORVERSION).tar.gz --exclude-vcs nethogs/*
@@ -33,6 +30,9 @@ nethogs:
decpcap_test:
$(MAKE) -f MakeApp.mk $@
test:
$(MAKE) -f MakeApp.mk $@
clean:
$(MAKE) -f MakeApp.mk $@
$(MAKE) -f MakeLib.mk $@