From 61a102786b49d78afaa367fa37f3251c17bf461d Mon Sep 17 00:00:00 2001 From: xi Date: Wed, 1 Oct 2008 23:16:55 +0000 Subject: Added the script tests/test_all.py. git-svn-id: http://svn.pyyaml.org/pyyaml/trunk@291 18f92427-320e-0410-9341-c67f048884a3 --- tests/test_all.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/test_all.py 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() + -- cgit v1.2.1