sbsv2/raptor/test/smoke_suite/mmp_newlib_keyword.py
branchwip
changeset 24 ecf6c5729e53
parent 23 e9dc34adfa0e
parent 10 a5abe4904f43
child 25 2b76b04e296d
equal deleted inserted replaced
23:e9dc34adfa0e 24:ecf6c5729e53
     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 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 #
       
    16 
       
    17 from raptor_tests import SmokeTest
       
    18 
       
    19 def run():
       
    20 	t = SmokeTest()
       
    21 	t.id = "40"
       
    22 	t.name = "mmp_newlib_keyword"
       
    23 	t.description = "Test the NEWLIB MMP keyword by specifying an invalid " + \
       
    24 			"library to link against"
       
    25 	t.command = "sbs -b smoke_suite/test_resources/newlib/bld.inf"
       
    26 	# 1 error is expected because the NEWLIB library we are trying to link
       
    27 	# Against does not exist
       
    28 	t.errors = 1
       
    29 	t.run()
       
    30 	return t