build tests: fail test run if we can't patch scapy

Type: fix

Change-Id: I694e44f449863b3edbbc8b6095e94f770dc20330
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
This commit is contained in:
Paul Vinciguerra
2019-12-17 17:29:34 -05:00
committed by Dave Wallace
parent affa05532d
commit 64e9d28d37

View File

@@ -145,7 +145,7 @@ $(PIP_PATCH_DONE): $(PIP_INSTALL_DONE)
echo Applying patch: $$(basename $$f) ; \
patch --forward -p1 -d $(SCAPY_SOURCE) < $$f ; \
retCode=$$?; \
[ $$retCode -gt 1 ] && exit $$retCode; \
[ $$retCode -gt 0 ] && exit $$retCode; \
done; \
touch $@