sbsv2/raptor/test/smoke_suite/commandfile.py
changeset 3 e1eecf4d390d
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 = "4"
       
    22 	t.name = "commandfile"
       
    23 	t.command = "sbs " \
       
    24 			+ "--command=smoke_suite/test_resources/simple/commands-v7.txt " \
       
    25 			+ "-c armv7_udeb"
       
    26 	t.targets = [
       
    27 		"$(EPOCROOT)/epoc32/release/armv7/udeb/test.exe",
       
    28 		"$(EPOCROOT)/epoc32/release/armv7/udeb/test.exe.map",
       
    29 		"$(EPOCROOT)/epoc32/release/armv7/urel/test.exe",
       
    30 		"$(EPOCROOT)/epoc32/release/armv7/urel/test.exe.map"
       
    31 		]
       
    32 	t.addbuildtargets('smoke_suite/test_resources/simple/bld.inf', [
       
    33 		"test_/armv7/udeb/test.o",
       
    34 		"test_/armv7/urel/test.o"
       
    35 	])
       
    36 	t.run()
       
    37 	return t
       
    38