sbsv2/raptor/test/smoke_suite/tools.py
changeset 3 e1eecf4d390d
child 383 770bd0892cdd
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 = "52"
       
    22 	t.name = "tools"
       
    23 	# Do not run with j > 1 because of known issues
       
    24 	t.command = "sbs -b smoke_suite/test_resources/tools/bld.inf -c tools -j1"
       
    25 	t.targets = [
       
    26 		"$(EPOCROOT)/epoc32/release/tools/deb/tool_exe.bsc",
       
    27 		"$(EPOCROOT)/epoc32/release/tools/deb/tool_exe.exe",
       
    28 		"$(EPOCROOT)/epoc32/release/tools/deb/tool_exe.ilk",
       
    29 		"$(EPOCROOT)/epoc32/release/tools/deb/tool_exe.pdb",
       
    30 		"$(EPOCROOT)/epoc32/release/tools/deb/tool_lib1.bsc",
       
    31 		"$(EPOCROOT)/epoc32/release/tools/deb/tool_lib1.lib",
       
    32 		"$(EPOCROOT)/epoc32/release/tools/deb/tool_lib1.pdb",
       
    33 		"$(EPOCROOT)/epoc32/release/tools/deb/tool_lib2.bsc",
       
    34 		"$(EPOCROOT)/epoc32/release/tools/deb/tool_lib2.lib",
       
    35 		"$(EPOCROOT)/epoc32/release/tools/deb/tool_lib2.pdb",
       
    36 		"$(EPOCROOT)/epoc32/release/tools/rel/tool_exe.exe",
       
    37 		"$(EPOCROOT)/epoc32/release/tools/rel/tool_lib1.lib",
       
    38 		"$(EPOCROOT)/epoc32/release/tools/rel/tool_lib2.lib",
       
    39 		"$(EPOCROOT)/epoc32/tools/tool_exe.exe",
       
    40 		"$(EPOCROOT)/epoc32/tools/tool_lib1.lib",
       
    41 		"$(EPOCROOT)/epoc32/tools/tool_lib2.lib"
       
    42 		]
       
    43 	t.addbuildtargets('smoke_suite/test_resources/tools/bld.inf', [
       
    44 		"tool_exe_exe/tools/deb/tool_exe_a.obj",
       
    45 		"tool_exe_exe/tools/deb/tool_exe_a.sbr",
       
    46 		"tool_exe_exe/tools/deb/tool_exe_b.obj",
       
    47 		"tool_exe_exe/tools/deb/tool_exe_b.sbr",
       
    48 		"tool_exe_exe/tools/rel/tool_exe_a.obj",
       
    49 		"tool_exe_exe/tools/rel/tool_exe_a.sbr",
       
    50 		"tool_exe_exe/tools/rel/tool_exe_b.obj",
       
    51 		"tool_exe_exe/tools/rel/tool_exe_b.sbr",
       
    52 		"tool_lib1_lib/tools/deb/tool_lib1_a.obj",
       
    53 		"tool_lib1_lib/tools/deb/tool_lib1_a.sbr",
       
    54 		"tool_lib1_lib/tools/deb/tool_lib1_b.obj",
       
    55 		"tool_lib1_lib/tools/deb/tool_lib1_b.sbr",
       
    56 		"tool_lib1_lib/tools/rel/tool_lib1_a.obj",
       
    57 		"tool_lib1_lib/tools/rel/tool_lib1_a.sbr",
       
    58 		"tool_lib1_lib/tools/rel/tool_lib1_b.obj",
       
    59 		"tool_lib1_lib/tools/rel/tool_lib1_b.sbr",
       
    60 		"tool_lib2_lib/tools/deb/tool_lib2_a.obj",
       
    61 		"tool_lib2_lib/tools/deb/tool_lib2_a.sbr",
       
    62 		"tool_lib2_lib/tools/deb/tool_lib2_b.obj",
       
    63 		"tool_lib2_lib/tools/deb/tool_lib2_b.sbr",
       
    64 		"tool_lib2_lib/tools/rel/tool_lib2_a.obj",
       
    65 		"tool_lib2_lib/tools/rel/tool_lib2_a.sbr",
       
    66 		"tool_lib2_lib/tools/rel/tool_lib2_b.obj",
       
    67 		"tool_lib2_lib/tools/rel/tool_lib2_b.sbr",
       
    68 	])
       
    69 	t.run("windows") # no MSVC compiler on Linux
       
    70 	return t