|
Last change
on this file since 47 was
29,
checked in by landauf, 17 years ago
|
|
updated boost from 1_33_1 to 1_34_1
|
|
File size:
709 bytes
|
| Line | |
|---|
| 1 | # Copyright Bruno da Silva de Oliveira 2003. Use, modification and |
|---|
| 2 | # distribution is subject to the Boost Software License, Version 1.0. |
|---|
| 3 | # (See accompanying file LICENSE_1_0.txt or copy at |
|---|
| 4 | # http:#www.boost.org/LICENSE_1_0.txt) |
|---|
| 5 | #!/usr/bin/python |
|---|
| 6 | |
|---|
| 7 | import sys |
|---|
| 8 | sys.path.append('../src/Pyste') |
|---|
| 9 | import unittest |
|---|
| 10 | import os.path |
|---|
| 11 | from glob import glob |
|---|
| 12 | |
|---|
| 13 | if __name__ == '__main__': |
|---|
| 14 | loader = unittest.defaultTestLoader |
|---|
| 15 | tests = [] |
|---|
| 16 | for name in glob('*UT.py'): |
|---|
| 17 | module = __import__(os.path.splitext(name)[0]) |
|---|
| 18 | tests.append(loader.loadTestsFromModule(module)) |
|---|
| 19 | runner = unittest.TextTestRunner() |
|---|
| 20 | result = runner.run(unittest.TestSuite(tests)) |
|---|
| 21 | sys.exit(not result.wasSuccessful()) |
|---|
Note: See
TracBrowser
for help on using the repository browser.