equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 # Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 # All rights reserved. |
3 # All rights reserved. |
4 # This component and the accompanying materials are made available |
4 # This component and the accompanying materials are made available |
5 # under the terms of the License "Eclipse Public License v1.0" |
5 # under the terms of the License "Eclipse Public License v1.0" |
6 # which accompanies this distribution, and is available |
6 # which accompanies this distribution, and is available |
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
16 |
16 |
17 from raptor_tests import SmokeTest |
17 from raptor_tests import SmokeTest |
18 |
18 |
19 def run(): |
19 def run(): |
20 t = SmokeTest() |
20 t = SmokeTest() |
21 t.id = "51" |
21 |
22 t.name = "tools2" |
22 t.id = "51a" |
|
23 t.name = "tools2_exe_lib" |
23 t.command = "sbs -b smoke_suite/test_resources/tools2/bld.inf -c tools2" |
24 t.command = "sbs -b smoke_suite/test_resources/tools2/bld.inf -c tools2" |
24 |
|
25 |
25 |
26 t.targets = [ |
26 t.targets = [ |
27 "$(EPOCROOT)/epoc32/release/tools2/deb/libtool_lib1.a", |
27 "$(EPOCROOT)/epoc32/release/tools2/deb/libtool_lib1.a", |
28 "$(EPOCROOT)/epoc32/release/tools2/deb/libtool_lib2.a", |
28 "$(EPOCROOT)/epoc32/release/tools2/deb/libtool_lib2.a", |
29 "$(EPOCROOT)/epoc32/release/tools2/deb/tool_exe.exe", |
29 "$(EPOCROOT)/epoc32/release/tools2/deb/tool_exe.exe", |
72 "tool_exe_exe/tool_exe_exe/tools2/rel/$(HOSTPLATFORM_DIR)/tool_exe_b.o", |
72 "tool_exe_exe/tool_exe_exe/tools2/rel/$(HOSTPLATFORM_DIR)/tool_exe_b.o", |
73 "tool_exe_exe/tool_exe_exe/tools2/deb/$(HOSTPLATFORM_DIR)/tool_exe_b.o", |
73 "tool_exe_exe/tool_exe_exe/tools2/deb/$(HOSTPLATFORM_DIR)/tool_exe_b.o", |
74 "tool_exe_exe/tool_exe_exe/tools2/deb/$(HOSTPLATFORM_DIR)/tool_exe_a.o" |
74 "tool_exe_exe/tool_exe_exe/tools2/deb/$(HOSTPLATFORM_DIR)/tool_exe_a.o" |
75 ]) |
75 ]) |
76 t.run("linux") # tools2 output is platform dependent |
76 t.run("linux") # tools2 output is platform dependent |
77 |
77 |
|
78 t.id = "51b" |
|
79 t.name = "tools2_nohrh" |
|
80 t.usebash = True |
|
81 t.command = "sbs -b smoke_suite/test_resources/tools2/bootstrap.inf -c tools2.nohrh -f -" |
|
82 t.targets = ["$(EPOCROOT)/epoc32/include/bootstrap_header_abc.h"] |
|
83 t.mustmatch_singleline = ["empty\.hrh"] |
|
84 t.mustnotmatch_singleline = ["Symbian_OS.hrh", |
|
85 "symbian_os.hrh", |
|
86 "feature_settings.hrh"] |
|
87 t.run() |
|
88 |
|
89 t.id = "51" |
|
90 t.name = "tools2" |
|
91 t.print_result() |
78 return t |
92 return t |