Fix make test scapy python patch issue, VPP-615 96/4896/3
authorDave Wallace <dwallacelf@gmail.com>
Fri, 27 Jan 2017 02:07:10 +0000 (21:07 -0500)
committerNeale Ranns <nranns@cisco.com>
Fri, 27 Jan 2017 16:36:55 +0000 (16:36 +0000)
Change-Id: I1e6798905f0049c793224a2c880f3b2cfadcf1e7
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
test/Makefile

index f3c71b5..ef19495 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 ; \