Test checksyle for IP mcast tests
[vpp.git] / test / Makefile
index f3c71b5..45a0218 100644 (file)
@@ -23,6 +23,7 @@ $(PIP_INSTALL_DONE):
 
 $(PIP_PATCH_DONE): $(PIP_INSTALL_DONE)
        @echo --- patching ---
+       @sleep 1 # Ensure python recompiles patched *.py files -> *.pyc
        for f in $(CURDIR)/patches/scapy-2.3.3/*.patch ; do \
                echo Applying patch: $$(basename $$f) ; \
                patch -p1 -d $(SCAPY_SOURCE) < $$f ; \
@@ -80,7 +81,7 @@ wipe-cov: wipe
 .PHONY: checkstyle
 checkstyle: verify-python-path
        @virtualenv $(PYTHON_VENV_PATH) -p python2.7
-       @bash -c "source $(PYTHON_VENV_PATH)/bin/activate && pip install $(PYTHON_DEPENDS) pep8"
+       @bash -c "source $(PYTHON_VENV_PATH)/bin/activate && pip install pep8"
        @bash -c "source $(PYTHON_VENV_PATH)/bin/activate &&\
                pep8 --show-source -v $(WS_ROOT)/test/*.py ||\
                (echo \"*******************************************************************\" &&\