configurationengine/source/cone/runtests.py
author m2lahtel
Tue, 10 Aug 2010 14:29:28 +0300
changeset 3 e7e0ae78773e
parent 0 2e8eeb919028
permissions -rw-r--r--
ConE 1.2.11 release

#
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Nokia Corporation - initial contribution.
#
# Contributors:
#
# Description: 
#



if __name__ == '__main__':
    import nose
    setuptools_incompat = ('report', 'prepareTest',
                           'prepareTestLoader', 'prepareTestRunner',
                           'setOutputStream')

    plugins = nose.plugins.manager.RestrictedPluginManager(exclude=setuptools_incompat)
    allfiles = nose.config.all_config_files() + ['nose_unittests.cfg']
    conf = nose.config.Config(files=allfiles,
                  plugins=plugins)
    conf.configure(argv=['collector'])
    nose.main(config=conf)