sbsv2/raptor/test/smoke_suite/implib_armv5.py
changeset 3 e1eecf4d390d
child 506 efe4a967495a
equal deleted inserted replaced
1:be27ed110b50 3:e1eecf4d390d
       
     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 = "14"
       
    22 	t.name = "implib_armv5"
       
    23 	t.command = "sbs -b smoke_suite/test_resources/simple_implib/bld.inf" \
       
    24 		+ " -c armv5 LIBRARY"
       
    25 	# ABIv1 .lib files are not generated on Linux
       
    26 	t.targets = [
       
    27 		"$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib.dso",
       
    28 		"$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib{000a0000}.dso"
       
    29 		]
       
    30 	t.addbuildtargets('smoke_suite/test_resources/simple_implib/bld.inf', [
       
    31 		['simple_implib_lib/armv5/udeb/simple_implib.prep',
       
    32                  'simple_implib_lib/armv5/urel/simple_implib.prep']
       
    33 	])
       
    34 	t.run("linux")
       
    35 	# Run test on Windows if that is the current OS
       
    36 	if t.result == SmokeTest.SKIP:
       
    37 		t.targets.extend([
       
    38 			"$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib.lib",
       
    39 			"$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib{000a0000}.lib"
       
    40 		])
       
    41 		t.run("windows")
       
    42 		
       
    43 	return t