Skip to content

Commit

Permalink
Updates so that OLT and ONU Makefiles match
Browse files Browse the repository at this point in the history
  • Loading branch information
pherron27 committed Dec 12, 2018
1 parent d3f1dac commit 8fd37cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions voltha/adapters/adtran_onu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 8fd37cb

Please sign in to comment.