Use cord-tester Makefile to create virtualenv
Change-Id: Ia8835cea82fefd194ae818cfef748193f96c197f
diff --git a/seba-in-a-box/Makefile b/seba-in-a-box/Makefile
index b71454c..4688791 100644
--- a/seba-in-a-box/Makefile
+++ b/seba-in-a-box/Makefile
@@ -356,10 +356,9 @@
PYBOT_ARGS ?=
$(M)/qatests: | $(M)/siab $(M)/qatests-prereqs $(WORKSPACE)/cord/test/cord-tester $(WORKSPACE)/cord/incubator/voltha
- cd $(WORKSPACE)/cord/test/cord-tester/src/test/cord-api/ && \
- WORKSPACE=$(VIRTUALENV) bash ./setup_venv.sh && \
- source $(VIRTUALENV)/venv-cord-tester/bin/activate && \
- cd Tests/WorkflowValidations/ && \
+ cd $(WORKSPACE)/cord/test/cord-tester/ ;\
+ make cord_venv; source cord_venv/bin/activate ; set -u;\
+ cd src/test/cord-api/Tests/WorkflowValidations/ ;\
robot $(PYBOT_ARGS) --removekeywords wuks -e notready -i $(TESTTAGS) -v VOLTHA_DIR:$(WORKSPACE)/cord/incubator/voltha SIAB.robot
touch $@