aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite_dfilter/__init__.py
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2018-05-03 12:05:12 -0700
committerGerald Combs <gerald@wireshark.org>2018-05-04 22:44:32 +0000
commit7591ed848e862d6f6f91d7398a1b98c4e5dea0fa (patch)
tree91da5400332fb46fe94246b746a59c943314142d /test/suite_dfilter/__init__.py
parent8db1616ec382ca8eca3c6059fdfa32378a7918fb (diff)
Test: Add dftest to our tests.
Move the dfilter tests and captures from tools to test. Change-Id: I2e6a6cc1d383c985ba07c76c93ae1c57d3c8f84c Reviewed-on: https://code.wireshark.org/review/27339 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'test/suite_dfilter/__init__.py')
-rw-r--r--test/suite_dfilter/__init__.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/suite_dfilter/__init__.py b/test/suite_dfilter/__init__.py
new file mode 100644
index 0000000000..6fb259ec50
--- /dev/null
+++ b/test/suite_dfilter/__init__.py
@@ -0,0 +1,14 @@
+#
+# Copyright (C) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+import os.path
+import unittest
+
+# Run by unittest.defaultTestLoader.discover in test.py
+def load_tests(loader, standard_tests, pattern):
+ this_dir = os.path.dirname(__file__)
+ package_tests = loader.discover(start_dir=this_dir, pattern='group_*.py')
+ standard_tests.addTests(package_tests)
+ return standard_tests