From 8fd37cb480670ddc52312943f0512a9cc5281817 Mon Sep 17 00:00:00 2001 From: Phillip Herron Date: Wed, 12 Dec 2018 10:36:38 -0600 Subject: [PATCH] Updates so that OLT and ONU Makefiles match --- voltha/adapters/adtran_onu/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voltha/adapters/adtran_onu/Makefile b/voltha/adapters/adtran_onu/Makefile index e1f27ee8..ff9a5988 100644 --- a/voltha/adapters/adtran_onu/Makefile +++ b/voltha/adapters/adtran_onu/Makefile @@ -6,7 +6,7 @@ VOLTHA_DIR := $(dir $(patsubst %/,%,$(ADAPTERS_DIR))) VENVDIR=$(WORKING_DIR)venv TESTDIR=$(WORKING_DIR)test -ADD_TO_PYTHONPATH := export PYTHONPATH=$(PYTHONPATH):$(VOLTHA_DIR)/protos/third_party; +PYTHONPATH := $(PYTHONPATH):$(VOLTHA_DIR)protos/third_party; IN_VENV=. '$(VENVDIR)/bin/activate'; PROFILING=--profile-svg @@ -16,7 +16,7 @@ $(warning "dot is not available please install graphviz") PROFILING= endif -RUN_PYTEST=$(IN_VENV) $(ADD_TO_PYTHONPATH) py.test -vvlx $(PROFILING) --cov=$(WORKING_DIR) --cov-report term-missing --cov-report html +RUN_PYTEST=$(IN_VENV) PYTHONPATH=$(PYTHONPATH) py.test -vvlx $(PROFILING) --cov=$(WORKING_DIR) --cov-report term-missing --cov-report html $(VENVDIR): @virtualenv -p python2 $(VENVDIR)