summaryrefslogtreecommitdiffhomepage
path: root/test/run.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtest/run.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/run.py b/test/run.py
new file mode 100755
index 00000000..be76a4fb
--- /dev/null
+++ b/test/run.py
@@ -0,0 +1,14 @@
+#!/usr/bin/python3
+
+import unittest
+import os
+
+loader = unittest.TestLoader()
+suite = unittest.TestSuite()
+
+this_dir = os.path.dirname(__file__)
+tests = loader.discover(start_dir=this_dir)
+suite.addTests(tests)
+
+runner = unittest.TextTestRunner(verbosity=3)
+result = runner.run(suite)