Make virtualenv dir configurable
Change-Id: Ib417f266b06dace1d1cd6acedad8a6cfd2f43edf
diff --git a/seba-in-a-box/Makefile b/seba-in-a-box/Makefile
index 4421906..e14d7a9 100644
--- a/seba-in-a-box/Makefile
+++ b/seba-in-a-box/Makefile
@@ -3,6 +3,7 @@
M ?= $(BUILD)/milestones
MAKEDIR := $(dir $(realpath $(firstword $(MAKEFILE_LIST))))
WORKSPACE ?= $(HOME)
+VIRTUALENV ?= $(WORKSPACE)/cord/test
SEBAVALUES ?= configs/seba-ponsim.yaml
HELM_VERSION ?= "2.10.0"
@@ -168,8 +169,8 @@
$(M)/qatests: $(M)/siab $(M)/qatests-prereqs $(WORKSPACE)/cord/test/cord-tester
cd $(WORKSPACE)/cord/test/cord-tester/src/test/cord-api/ && \
- WORKSPACE=. bash ./setup_venv.sh && \
- source ./venv-cord-tester/bin/activate && \
+ WORKSPACE=$(VIRTUALENV) bash ./setup_venv.sh && \
+ source $(VIRTUALENV)/venv-cord-tester/bin/activate && \
cd Tests/WorkflowValidations/ && \
pybot -e notready SIAB.robot
touch $@