Changed make clean to delete mnexec; added codecheck and test messages.

This commit is contained in:
Bob Lantz
2011-04-01 11:56:31 -07:00
parent 85cc906f14
commit 2b03a115d2
+3 -1
View File
@@ -1,7 +1,7 @@
all: codecheck test
clean:
rm -rf build dist *.egg-info *.pyc
rm -rf build dist *.egg-info *.pyc mnexec bin/mnexec
MININET = mininet/*.py
TEST = mininet/test/*.py
@@ -12,11 +12,13 @@ PYSRC = $(MININET) $(TEST) $(EXAMPLES) $(BIN)
P8IGN = E251,E201,E302,E202
codecheck: $(PYSRC)
-echo "Running code check"
pyflakes $(PYSRC)
pylint --rcfile=.pylint $(PYSRC)
pep8 --repeat --ignore=$(P8IGN) $(PYSRC)
test: $(MININET) $(TEST)
-echo "Running tests"
mininet/test/test_nets.py
install: mnexec