OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
3 # for details. All rights reserved. Use of this source code is governed by a | 3 # for details. All rights reserved. Use of this source code is governed by a |
4 # BSD-style license that can be found in the LICENSE file. | 4 # BSD-style license that can be found in the LICENSE file. |
5 | 5 |
6 """This entry point runs all script tests.""" | 6 """This entry point runs all script tests.""" |
7 | 7 |
8 import logging.config | 8 import logging.config |
9 import unittest | 9 import unittest |
10 | 10 |
11 if __name__ == '__main__': | 11 if __name__ == '__main__': |
12 logging.config.fileConfig('logging.conf') | 12 logging.config.fileConfig('logging.conf') |
13 suite = unittest.TestLoader().loadTestsFromNames([ | 13 suite = unittest.TestLoader().loadTestsFromNames([ |
14 'templateloader_test', | 14 'templateloader_test', |
15 'pegparser_test', | 15 'pegparser_test', |
16 'idlparser_test', | 16 'idlparser_test', |
17 'idlnode_test', | 17 'idlnode_test', |
18 'idlrenderer_test', | 18 'idlrenderer_test', |
19 'database_test', | 19 'database_test', |
20 'databasebuilder_test', | 20 'databasebuilder_test', |
21 'emitter_test', | 21 'emitter_test', |
22 'dartgenerator_test', | 22 'dartgenerator_test', |
23 'multiemitter_test']) | 23 'multiemitter_test']) |
24 unittest.TextTestRunner().run(suite) | 24 unittest.TextTestRunner().run(suite) |
OLD | NEW |