CORD-2858 adding xos-api-test make target
Change-Id: Ia2b6ffcc37dbbd1ad88abec67366e4b26d7608f1
diff --git a/Makefile b/Makefile
index dd65461..55441a7 100644
--- a/Makefile
+++ b/Makefile
@@ -400,6 +400,15 @@
# Testing targets
+venv-xosapitest:
+ bash ../test/cord-tester/src/test/setup/venv-apitests.sh || true
+
+xos-api-test: venv-xosapitest
+ bash -c "source venv-xosapitest/bin/activate && $(ANSIBLE_PB) $(PI)/xos-api-test-playbook.yml" $(LOGCMD)
+
+clean-xos-api-tests:
+ rm -rf ../test/cord-tester/src/test/cord-api/Tests/Logs/*
+ rm -rf venv-xosapitest || true
# R-CORD specific targets
pod-test: | $(TESTING_PREREQS)