13
|
1 |
#
|
|
2 |
# Copyright (c) 2006-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 the License "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 |
# raptor_utilities_unit module
|
|
16 |
# This module tests the classed forming the Raptor bld.inf and .mmp parsing support
|
|
17 |
#
|
|
18 |
|
|
19 |
import os
|
|
20 |
import raptor_utilities
|
|
21 |
import sys
|
|
22 |
import unittest
|
|
23 |
|
|
24 |
class TestRaptorUtilities(unittest.TestCase):
|
|
25 |
pass
|
|
26 |
|
|
27 |
# run all the tests
|
|
28 |
|
|
29 |
from raptor_tests import SmokeTest
|
|
30 |
|
|
31 |
def run():
|
|
32 |
t = SmokeTest()
|
|
33 |
t.id = "999"
|
|
34 |
t.name = "raptor_utilities_unit"
|
|
35 |
|
|
36 |
tests = unittest.makeSuite(TestRaptorUtilities)
|
|
37 |
result = unittest.TextTestRunner(verbosity=2).run(tests)
|
|
38 |
|
|
39 |
if result.wasSuccessful():
|
|
40 |
t.result = SmokeTest.PASS
|
|
41 |
else:
|
|
42 |
t.result = SmokeTest.FAIL
|
|
43 |
|
|
44 |
return t
|