summaryrefslogtreecommitdiffstats
path: root/tests/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/__init__.py')
-rw-r--r--tests/__init__.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
new file mode 100644
index 000000000..d0d31801d
--- /dev/null
+++ b/tests/__init__.py
@@ -0,0 +1,21 @@
+# tests/__init__.py -- Portage Unit Test functionality
+# Copyright 2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+import unittest
+
+def main():
+
+ tests = ["test_vercmp"]
+
+ suite = unittest.TestSuite()
+
+ for mod in tests:
+ try:
+ test_mod = __import__(mod)
+ suite.addTest(test_mod.suite())
+ except ImportError:
+ pass
+
+ unittest.TextTestRunner(verbosity=2).run(suite)