summaryrefslogtreecommitdiffstats
path: root/test/discover_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/discover_tests.py')
-rwxr-xr-xtest/discover_tests.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/discover_tests.py b/test/discover_tests.py
index 1e581a57b6f..7f05c3184ff 100755
--- a/test/discover_tests.py
+++ b/test/discover_tests.py
@@ -41,18 +41,3 @@ def discover_tests(directory, callback, ignore_path):
def print_callback(file_name, cls, method):
print("%s.%s.%s" % (file_name, cls.__name__, method))
-
-
-if __name__ == '__main__':
- parser = argparse.ArgumentParser(description="Discover VPP unit tests")
- parser.add_argument("-d", "--dir", action='append', type=str,
- help="directory containing test files "
- "(may be specified multiple times)")
- args = parser.parse_args()
- if args.dir is None:
- args.dir = "."
-
- ignore_path = os.getenv("VENV_PATH", "")
- suite = unittest.TestSuite()
- for d in args.dir:
- discover_tests(d, print_callback, ignore_path)