0
|
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 |
|
|
19 |
if __name__ == '__main__':
|
|
20 |
import nose
|
|
21 |
setuptools_incompat = ('report', 'prepareTest',
|
|
22 |
'prepareTestLoader', 'prepareTestRunner',
|
|
23 |
'setOutputStream')
|
|
24 |
|
|
25 |
plugins = nose.plugins.manager.RestrictedPluginManager(exclude=setuptools_incompat)
|
|
26 |
allfiles = nose.config.all_config_files() + ['nose_unittests.cfg']
|
|
27 |
conf = nose.config.Config(files=allfiles,
|
|
28 |
plugins=plugins)
|
|
29 |
conf.configure(argv=['collector'])
|
|
30 |
nose.main(config=conf)
|
|
31 |
|