2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-26 18:52:26 +00:00

- Unit tests for the examples

[SVN r17992]
This commit is contained in:
Bruno da Silva de Oliveira
2003-03-19 03:08:53 +00:00
parent 08254b1fe7
commit 85f324efb6

View File

@@ -11,4 +11,5 @@ if __name__ == '__main__':
module = __import__(os.path.splitext(name)[0])
tests.append(loader.loadTestsFromModule(module))
runner = unittest.TextTestRunner()
runner.run(unittest.TestSuite(tests))
result = runner.run(unittest.TestSuite(tests))
sys.exit(not result.wasSuccessful())