sbsv2/raptor/test/smoke_suite/depcrunch_test.py
changeset 18 de5b887c98f7
equal deleted inserted replaced
14:eb060913c963 18:de5b887c98f7
       
     1 #
       
     2 # Copyright (c) 2010 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.usebash = True
       
    22 	
       
    23 	t.description = "Test that dependency crunching for resource dependency files produces expected output" 
       
    24 
       
    25 	t.id = "43562999"
       
    26 	t.name = "depcrunch"
       
    27 	t.command = "python $SBS_HOME/bin/depcrunch.py --extensions mbg,rsg --assume EPOCROOT < smoke_suite/test_resources/depcrunch/dep2.rpp.d"
       
    28 	t.mustmatch_multiline = [
       
    29 		r"EPOCROOT/epoc32/build/resource/c_98665870f0168225/dependentresource_/dependentresource_dependentresource_sc.rpp: \\\n"+
       
    30 		r" EPOCROOT/testresource1.mbg \\\n"+
       
    31 		r" EPOCROOT/testresource2.rsg \\\n"+
       
    32 		r" EPOCROOT/testresource3.rsg \\\n"+
       
    33 		r" EPOCROOT/testresource4.mbg \\\n"+
       
    34 		r" EPOCROOT/testresource5.rsg \\\n"+
       
    35 		r" EPOCROOT/testresource6.mbg \\\n"+
       
    36 		r" EPOCROOT/testresource7.rsg \\\n"+
       
    37 		r" EPOCROOT/testresource8.mbg \\\n"+
       
    38 		r" EPOCROOT/testresource9.rsg \n"
       
    39 		]
       
    40 	t.run()
       
    41 
       
    42 
       
    43 	t.print_result()
       
    44 	
       
    45 	return t
       
    46