|
1 # |
|
2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 # All rights reserved. |
|
4 # This component and the accompanying materials are made available |
|
5 # under the terms of "Eclipse Public License v1.0" |
|
6 # which accompanies this distribution, and is available |
|
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 # |
|
9 # Initial Contributors: |
|
10 # Nokia Corporation - initial contribution. |
|
11 # |
|
12 # Contributors: |
|
13 # |
|
14 # Description: |
|
15 # |
|
16 |
|
17 |
|
18 import os,sys,unittest |
|
19 from optparse import OptionParser, OptionGroup |
|
20 |
|
21 ROOT_PATH = os.path.dirname(os.path.abspath(__file__)) |
|
22 sys.path.insert(0, os.path.join(ROOT_PATH,'..')) |
|
23 sys.path.insert(0, os.path.join(ROOT_PATH,'../..')) |
|
24 sys.path.insert(0, os.path.join(ROOT_PATH,'../../testautomation')) |
|
25 |
|
26 import cone.storage.tests |
|
27 import cone.core.tests |
|
28 import cone.confml.tests |
|
29 import cone.carbon.tests |
|
30 import cone.public.tests |
|
31 from testautomation import testcli |
|
32 |
|
33 def collect_suite(): |
|
34 suite = unittest.TestSuite() |
|
35 suite.addTests(cone.storage.tests.collect_suite()) |
|
36 suite.addTests(cone.core.tests.collect_suite()) |
|
37 suite.addTests(cone.confml.tests.collect_suite()) |
|
38 suite.addTests(cone.carbon.tests.collect_suite()) |
|
39 suite.addTests(cone.public.tests.collect_suite()) |
|
40 return suite |
|
41 |
|
42 if __name__ == '__main__': |
|
43 testcli.run(collect_suite()) |
|
44 |