|
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.name = "slim_debug" |
|
22 t.description = """Exercise the slim_debug variant, checking that command line arguments |
|
23 are applied selectively.""" |
|
24 t.usebash = True |
|
25 |
|
26 t.command = "sbs -b smoke_suite/test_resources/simple_dll/bld.inf -c armv5.slimdebug -f-" |
|
27 t.targets = [ |
|
28 "$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll.dll.sym", |
|
29 "$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll.dll.sym", |
|
30 "$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll.dso", |
|
31 "$(EPOCROOT)/epoc32/release/armv5/lib/createstaticdll{000a0000}.dso", |
|
32 "$(EPOCROOT)/epoc32/release/armv5/udeb/createstaticdll.dll", |
|
33 "$(EPOCROOT)/epoc32/release/armv5/urel/createstaticdll.dll" |
|
34 ] |
|
35 t.addbuildtargets('smoke_suite/test_resources/simple_dll/bld.inf', |
|
36 [ |
|
37 "createstaticdll_dll/armv5/udeb/CreateStaticDLL.o", |
|
38 "createstaticdll_dll/armv5/urel/CreateStaticDLL.o" |
|
39 ]) |
|
40 t.mustnotmatch_singleline = ["\+.*armcc.*--no_debug_macros --remove_unneeded_entities.*--DNDEBUG"] |
|
41 t.mustmatch_singleline = ["\+.*armcc.*--no_debug_macros --remove_unneeded_entities.*-D_DEBUG"] |
|
42 |
|
43 t.run() |
|
44 return t |