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 <yunus.saima.234@gmail.com> Change-Id: Id2beecbb99f24ce13ed118a1869c5adbef247e50
This commit is contained in:

committed by
Dave Wallace

parent
5c9f9968de
commit
c7f93b321d
@@ -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):
|
||||
|
Reference in New Issue
Block a user