sbsv2/raptor/test/smoke_suite/exe_armv5_winscw_check.py
changeset 3 e1eecf4d390d
child 9 b211d87c390a
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 CheckWhatSmokeTest
       
    18 
       
    19 def run():
       
    20 	t = CheckWhatSmokeTest()
       
    21 	t.id = "6"
       
    22 	t.name = "exe_armv5_winscw_check"
       
    23 	t.command = "sbs -b smoke_suite/test_resources/simple/bld.inf -c armv5 -c winscw --check"
       
    24 	t.targets = [
       
    25 		"$(EPOCROOT)/epoc32/release/armv5/udeb/test.exe",
       
    26 		"$(EPOCROOT)/epoc32/release/armv5/udeb/test.exe.map",
       
    27 		"$(EPOCROOT)/epoc32/release/armv5/urel/test.exe",
       
    28 		"$(EPOCROOT)/epoc32/release/armv5/urel/test.exe.map",
       
    29 		"$(EPOCROOT)/epoc32/release/winscw/udeb/test.exe",
       
    30 		"$(EPOCROOT)/epoc32/release/winscw/urel/test.exe",
       
    31 		"$(EPOCROOT)/epoc32/release/winscw/urel/test.exe.map"
       
    32 		]
       
    33 	t.missing = 7
       
    34 	t.returncode = 1
       
    35 	t.stdout = [
       
    36 	# armv5 artefacts
       
    37 		"MISSING: $(EPOCROOT)/epoc32/release/armv5/udeb/test.exe",
       
    38 		"MISSING: $(EPOCROOT)/epoc32/release/armv5/udeb/test.exe.map",
       
    39 		"MISSING: $(EPOCROOT)/epoc32/release/armv5/urel/test.exe",
       
    40 		"MISSING: $(EPOCROOT)/epoc32/release/armv5/urel/test.exe.map",
       
    41 	# winscw artefacts
       
    42 		"MISSING: $(EPOCROOT)/epoc32/release/winscw/udeb/test.exe",
       
    43 		"MISSING: $(EPOCROOT)/epoc32/release/winscw/urel/test.exe",
       
    44 		"MISSING: $(EPOCROOT)/epoc32/release/winscw/urel/test.exe.map"
       
    45 	]
       
    46 	t.run()
       
    47 	return t