aboutsummaryrefslogtreecommitdiffstats
path: root/test/discover_tests.py
diff options
context:
space:
mode:
authorSaima Yunus <yunus.saima.234@gmail.com>2022-08-10 03:25:31 -0400
committerDave Wallace <dwallacelf@gmail.com>2022-08-16 20:27:37 +0000
commitc7f93b321d02c532f612587f939f8188526139ac (patch)
tree36f8a65e7a420674193af926c9e724fdf6036034 /test/discover_tests.py
parent5c9f9968de63fa627b4a72b344df36cdc686d18a (diff)
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
Diffstat (limited to 'test/discover_tests.py')
-rwxr-xr-xtest/discover_tests.py6
1 files changed, 2 insertions, 4 deletions
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