summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_all.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/test_all.py b/tests/test_all.py
new file mode 100644
index 0000000..8ae1c76
--- /dev/null
+++ b/tests/test_all.py
@@ -0,0 +1,15 @@
+
+import unittest
+
+def main():
+ import yaml
+ names = ['test_yaml']
+ if yaml.__libyaml__:
+ names.append('test_yaml_ext')
+ suite = unittest.defaultTestLoader.loadTestsFromNames(names)
+ runner = unittest.TextTestRunner()
+ runner.run(suite)
+
+if __name__ == '__main__':
+ main()
+