# HG changeset patch # User yiluzhu # Date 1263555905 0 # Node ID f0800c70aa13ab47b864eab93dc4f6f8456762a7 # Parent 6d26dad2041814dbea0bf18fb00b9ef8456b8469# Parent 52e5ae7bfcfe62f46af5c5e4ec09bf803ee9383a Merge diff -r 52e5ae7bfcfe -r f0800c70aa13 sbsv2/raptor/RELEASE-NOTES.txt --- a/sbsv2/raptor/RELEASE-NOTES.txt Tue Jan 12 17:23:46 2010 +0000 +++ b/sbsv2/raptor/RELEASE-NOTES.txt Fri Jan 15 11:45:05 2010 +0000 @@ -4,6 +4,7 @@ version 2.11.3 Defect Fixes: +DPDEF142616 Raptor: Variables can be set unnecessarily prior to TEM execution Fix for: filter terminal flags up when recipe truncated SF bug 170: invalid XML output when a zip file is missing SF bug 518: unpaged keyword in mmp files is not parsed properly diff -r 52e5ae7bfcfe -r f0800c70aa13 sbsv2/raptor/test/smoke_suite/apply_usecases.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sbsv2/raptor/test/smoke_suite/apply_usecases.py Fri Jan 15 11:45:05 2010 +0000 @@ -0,0 +1,38 @@ +# +# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +# All rights reserved. +# This component and the accompanying materials are made available +# under the terms of the License "Eclipse Public License v1.0" +# which accompanies this distribution, and is available +# at the URL "http://www.eclipse.org/legal/epl-v10.html". +# +# Initial Contributors: +# Nokia Corporation - initial contribution. +# +# Contributors: +# +# Description: +# + +from raptor_tests import SmokeTest + +def run(): + t = SmokeTest() + t.description = "This testcase tests specific cases of using APPLY" + t.usebash = True + + # Introduce LINKER_OPTIONS for tools2 linker + t.id = "xx" + t.name = "apply_linker_options" + t.command = "sbs -b smoke_suite/test_resources/apply_usecases/linker_options/bld.inf -c tools2 -f -" + t.targets = [ + "$(EPOCROOT)/epoc32/release/tools2/rel/test_apply_linkeroptions.exe" + ] + t.addbuildtargets("smoke_suite/test_resources/apply_usecases/linker_options/bld.inf", [ + "test_apply_linkeroptions_/test_apply_linkeroptions_exe/tools2/deb/test_apply_linkeroptions.o", + "test_apply_linkeroptions_/test_apply_linkeroptions_exe/tools2/rel/test_apply_linkeroptions.o" + ]) + t.mustmatch = ["-lwsock32"] + t.run("windows") + + return t diff -r 52e5ae7bfcfe -r f0800c70aa13 sbsv2/raptor/test/smoke_suite/test_resources/apply_usecases/apply_test_usecases_variants.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sbsv2/raptor/test/smoke_suite/test_resources/apply_usecases/apply_test_usecases_variants.xml Fri Jan 15 11:45:05 2010 +0000 @@ -0,0 +1,15 @@ + + + + + + + + + + + + diff -r 52e5ae7bfcfe -r f0800c70aa13 sbsv2/raptor/test/smoke_suite/test_resources/apply_usecases/linker_options/bld.inf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sbsv2/raptor/test/smoke_suite/test_resources/apply_usecases/linker_options/bld.inf Fri Jan 15 11:45:05 2010 +0000 @@ -0,0 +1,10 @@ + +PRJ_EXPORTS +../apply_test_usecases_variants.xml /epoc32/tools/makefile_templates/ + +PRJ_PLATFORMS +TOOLS2 + +PRJ_MMPFILES +test_apply_linkeroptions.mmp + diff -r 52e5ae7bfcfe -r f0800c70aa13 sbsv2/raptor/test/smoke_suite/test_resources/apply_usecases/linker_options/test_apply_linkeroptions.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sbsv2/raptor/test/smoke_suite/test_resources/apply_usecases/linker_options/test_apply_linkeroptions.cpp Fri Jan 15 11:45:05 2010 +0000 @@ -0,0 +1,4 @@ +int main() +{ + return 0; +} diff -r 52e5ae7bfcfe -r f0800c70aa13 sbsv2/raptor/test/smoke_suite/test_resources/apply_usecases/linker_options/test_apply_linkeroptions.mmp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sbsv2/raptor/test/smoke_suite/test_resources/apply_usecases/linker_options/test_apply_linkeroptions.mmp Fri Jan 15 11:45:05 2010 +0000 @@ -0,0 +1,7 @@ +TARGET test_apply_linkeroptions +TARGETTYPE EXE + +SOURCE test_apply_linkeroptions.cpp + +// Link to mingw libs: some_mingw_lib +APPLY apply_tools2_linker_options