From c7f93b321d02c532f612587f939f8188526139ac Mon Sep 17 00:00:00 2001 From: Saima Yunus Date: Wed, 10 Aug 2022 03:25:31 -0400 Subject: tests: move "venv" to "build-root" directory from "test" directory Type: refactor - refactored VPP test code to remove "ignore_path" variable from "discover_tests" function and "run_test" code - configured VPP test makefile, config file, and 'run.sh' shell script to move "venv" directory from "test" dir to "build-root" dir Signed-off-by: Saima Yunus Change-Id: Id2beecbb99f24ce13ed118a1869c5adbef247e50 --- test/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile index e5c2b2d21d5..87b121ac11f 100644 --- a/test/Makefile +++ b/test/Makefile @@ -54,7 +54,8 @@ PYTHON_OPTS="-m cProfile $(PROFILE_OUTPUT_OPTS) -s $(PROFILE_SORT_BY)" FORCE_FOREGROUND=1 endif -VENV_PATH=$(TEST_DIR)/venv +VENV_BR_DIR=$(BR)/test +VENV_PATH=$(VENV_BR_DIR)/venv ifeq ($(TEST_DEBUG),1) VENV_RUN_DIR:=$(VENV_PATH)/run-debug @@ -314,7 +315,7 @@ reset: .PHONY: wipe wipe: reset - @rm -rf $(VENV_PATH) + @rm -rf $(VENV_BR_DIR) @rm -rf $(patsubst %,%/__pycache__, $(VPP_TEST_DIRS)) $(BUILD_COV_DIR): -- cgit 1.2.3-korg