Fix Makefile.behave PYTHONPATH
@@ -6,9 +6,9 @@ behave:
@which behave || (echo "behave not found. Run pip install -r gpMgmt/requirements-dev.txt" && exit 1)
@echo "Running behave on management scripts..."
@if [ -n """$(flags)""" ]; then \
- PYTHONPATH=$$PYTHONPATH:$(PEXPECT_LIB) behave $(CURDIR)/test/behave/* -s -k $(flags) 2>&1 ; \
+ PYTHONPATH=$$PYTHONPATH:$(PEXPECT_LIB):$(CURDIR)/bin behave $(CURDIR)/test/behave/* -s -k $(flags) 2>&1 ; \
elif [ -n """$(tags)""" ]; then \
- PYTHONPATH=$$PYTHONPATH:$(PEXPECT_LIB) behave $(CURDIR)/test/behave/* -s -k --tags=$(tags) 2>&1 ; \
+ PYTHONPATH=$$PYTHONPATH:$(PEXPECT_LIB):$(CURDIR)/bin behave $(CURDIR)/test/behave/* -s -k --tags=$(tags) 2>&1 ; \
else \
echo "Please specify tags=tagname or flags=[behave flags]"; \
exit 1; \
