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/discover_tests.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'test/discover_tests.py') diff --git a/test/discover_tests.py b/test/discover_tests.py index 7f05c3184ff..0eaa149d0db 100755 --- a/test/discover_tests.py +++ b/test/discover_tests.py @@ -7,14 +7,12 @@ import importlib import argparse -def discover_tests(directory, callback, ignore_path): +def discover_tests(directory, callback): do_insert = True for _f in os.listdir(directory): f = "%s/%s" % (directory, _f) if os.path.isdir(f): - if ignore_path is not None and f.startswith(ignore_path): - continue - discover_tests(f, callback, ignore_path) + discover_tests(f, callback) continue if not os.path.isfile(f): continue -- cgit 1.2.3-korg