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:
8
Makefile
8
Makefile
@@ -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 $@
|
||||
|
||||
Reference in New Issue
Block a user