sbsv2/raptor/test/smoke_suite/implib_armv5.py
changeset 18 de5b887c98f7
parent 13 c327db0664bb
equal deleted inserted replaced
14:eb060913c963 18:de5b887c98f7
     1 #
     1 #
     2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3 # All rights reserved.
     3 # All rights reserved.
     4 # This component and the accompanying materials are made available
     4 # This component and the accompanying materials are made available
     5 # under the terms of the License "Eclipse Public License v1.0"
     5 # under the terms of the License "Eclipse Public License v1.0"
     6 # which accompanies this distribution, and is available
     6 # which accompanies this distribution, and is available
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
    20 	t = SmokeTest()
    20 	t = SmokeTest()
    21 	t.id = "14"
    21 	t.id = "14"
    22 	t.name = "implib_armv5"
    22 	t.name = "implib_armv5"
    23 	t.command = "sbs -b smoke_suite/test_resources/simple_implib/bld.inf" \
    23 	t.command = "sbs -b smoke_suite/test_resources/simple_implib/bld.inf" \
    24 		+ " -c armv5 LIBRARY"
    24 		+ " -c armv5 LIBRARY"
    25 	# ABIv1 .lib files are not generated on Linux
       
    26 	t.targets = [
    25 	t.targets = [
    27 		"$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib.dso",
    26 		"$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib.dso",
    28 		"$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib{000a0000}.dso"
    27 		"$(EPOCROOT)/epoc32/release/armv5/lib/simple_implib{000a0000}.dso"
    29 		]
    28 		]
    30 	t.addbuildtargets('smoke_suite/test_resources/simple_implib/bld.inf', [
    29 	t.addbuildtargets('smoke_suite/test_resources/simple_implib/bld.inf', [
    31 		['simple_implib_lib/armv5/udeb/simple_implib.prep',
    30 		['simple_implib_lib/armv5/udeb/simple_implib.prep',
    32                  'simple_implib_lib/armv5/urel/simple_implib.prep']
    31                  'simple_implib_lib/armv5/urel/simple_implib.prep']
    33 	])
    32 	])
    34 	t.run("linux")
    33 	t.run()
    35 	# Run test on Windows if that is the current OS
    34 	
    36 	if t.result == SmokeTest.SKIP:
    35 	t.print_result()	
    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
    36 	return t