# HG changeset patch # User Richard Taylor # Date 1267708274 0 # Node ID 502501837ac41cbf3b5bb53dd13a5e132dd2f2d6 # Parent 7029b5be2b15190699d0b9e63b6a7b1db496cd67# Parent fad68f1948078ae81080591134f7ef5cfcd086e7 version 2.12.4 (candidate 2) diff -r 7029b5be2b15 -r 502501837ac4 sbsv2/raptor/RELEASE-NOTES.txt --- a/sbsv2/raptor/RELEASE-NOTES.txt Tue Mar 02 09:17:29 2010 +0000 +++ b/sbsv2/raptor/RELEASE-NOTES.txt Thu Mar 04 13:11:14 2010 +0000 @@ -3,9 +3,9 @@ version 2.12.4 Defect Fixes: +- SF Bug 2125 - [Raptor] - tracecompiler what output incorrect if mmp basename contains '.' e.g. fred.prd.mmp - SF Bug 2113 - [Raptor] what/check filters can assign files to the wrong components - SF Bug 2081 - [Raptor] - Exported file executable permissions not maintained (linux) -- Fix: host attribute in recipes was blank in windows, windows cluster builds. - SF Bug 1912 - Raptor should take python from the path [if not set with SBS_PYTHON or bundled with Raptor] - SF Bug 2042 - [Raptor] component field empty in recipe - SF Bug 2007 - [Raptor] GCCE 4.4.1 builds require 4.3.1 and 4.3.2 SBS_GCCE???BIN env vars etc. @@ -17,6 +17,7 @@ .DEFAULT target introduced for all non --no-depend-generate and/or --no-depend-include builds - Add support for PLUGIN3 TARGETTYPEs - Fixing logfile corruption for large GCCXML builds by suppressing zip output +- Fix: host attribute in recipes was blank in windows, windows cluster builds. - Stop copying .bmp files to epoc32/localisation and fix the "what" reporting diff -r 7029b5be2b15 -r 502501837ac4 sbsv2/raptor/bin/sbs --- a/sbsv2/raptor/bin/sbs Tue Mar 02 09:17:29 2010 +0000 +++ b/sbsv2/raptor/bin/sbs Thu Mar 04 13:11:14 2010 +0000 @@ -91,6 +91,7 @@ __PYTHON__=$SBS_PYTHON elif [ -f "$__LOCAL_PYTHON__" ]; then __PYTHON__=$__LOCAL_PYTHON__ + export SBS_PYTHON=$__PYTHON__ export PYTHONPATH= else __PYTHON__=python.exe diff -r 7029b5be2b15 -r 502501837ac4 sbsv2/raptor/bin/sbs.bat --- a/sbsv2/raptor/bin/sbs.bat Tue Mar 02 09:17:29 2010 +0000 +++ b/sbsv2/raptor/bin/sbs.bat Thu Mar 04 13:11:14 2010 +0000 @@ -45,6 +45,7 @@ :localpython @SET __PYTHON__=%__LOCAL_PYTHON__% +@SET SBS_PYTHON=%__PYTHON__% @SET PYTHONPATH= :sbspythonpath @@ -73,7 +74,7 @@ @REM Tell CYGWIN not to map unix security attributes to windows to @REM prevent raptor from potentially creating read-only files: -@set CYGWIN=nontsec nosmbntsec +@SET CYGWIN=nontsec nosmbntsec @REM Run Raptor with all the arguments. @%__PYTHON__% %SBS_HOME%\python\raptor_start.py %* diff -r 7029b5be2b15 -r 502501837ac4 sbsv2/raptor/lib/config/locations.xml --- a/sbsv2/raptor/lib/config/locations.xml Tue Mar 02 09:17:29 2010 +0000 +++ b/sbsv2/raptor/lib/config/locations.xml Thu Mar 04 13:11:14 2010 +0000 @@ -72,7 +72,7 @@ - + diff -r 7029b5be2b15 -r 502501837ac4 sbsv2/raptor/lib/flm/tracecompiler.mk --- a/sbsv2/raptor/lib/flm/tracecompiler.mk Tue Mar 02 09:17:29 2010 +0000 +++ b/sbsv2/raptor/lib/flm/tracecompiler.mk Thu Mar 04 13:11:14 2010 +0000 @@ -72,8 +72,12 @@ ifeq ($(GUARD_$(call sanitise,$(TRACE_MARKER))),) GUARD_$(call sanitise,$(TRACE_MARKER)):=1 -TRACE_DICTIONARY:=$(EPOCROOT)/epoc32/ost_dictionaries/$(TRACE_PRJNAME)_0x$(UID_TC)_Dictionary.xml -AUTOGEN_HEADER:=$(EPOCROOT)/epoc32/include/internal/SymbianTraces/autogen/$(TRACE_PRJNAME)_0x$(UID_TC)_TraceDefinitions.h +# The trace compiler likes to change . into _ so we must do the same in the case of mmps with a name like +# fred.prd.mmp we want fred_prd +TRACE_PRJNAME_SANITISED:=$(subst .,_,$(TRACE_PRJNAME)) + +TRACE_DICTIONARY:=$(EPOCROOT)/epoc32/ost_dictionaries/$(TRACE_PRJNAME_SANITISED)_0x$(UID_TC)_Dictionary.xml +AUTOGEN_HEADER:=$(EPOCROOT)/epoc32/include/internal/SymbianTraces/autogen/$(TRACE_PRJNAME_SANITISED)_0x$(UID_TC)_TraceDefinitions.h JAVA_COMMAND:=$(SBS_JAVATC) TRACE_COMPILER_PATH:=$(EPOCROOT)/epoc32/tools @@ -91,7 +95,8 @@ echo -en "*ENDOFSOURCEFILES*\n" ) | \ $(JAVA_COMMAND) $(TRACE_COMPILER_START) $(UID_TC) && \ $(GNUMD5SUM) $(TRACE_SOURCE_LIST) > $(TRACE_MARKER) && \ - { $(GNUCAT) $(TRACE_SOURCE_LIST) ; true ; } \ + { $(GNUTOUCH) $(TRACE_DICTIONARY) $(AUTOGEN_HEADER); \ + $(GNUCAT) $(TRACE_SOURCE_LIST) ; true ; } \ $(call endrule,tracecompile) endef diff -r 7029b5be2b15 -r 502501837ac4 sbsv2/raptor/python/raptor_version.py --- a/sbsv2/raptor/python/raptor_version.py Tue Mar 02 09:17:29 2010 +0000 +++ b/sbsv2/raptor/python/raptor_version.py Thu Mar 04 13:11:14 2010 +0000 @@ -16,7 +16,7 @@ # replace CHANGESET with the Hg changeset for ANY release -version=(2,12,4,"2010-03-03","symbian build system","CHANGESET") +version=(2,12,4,"2010-03-05","symbian build system","CHANGESET") def numericversion(): """Raptor version string""" diff -r 7029b5be2b15 -r 502501837ac4 sbsv2/raptor/test/smoke_suite/test_resources/tracecompiler/testTC/group/bld.inf --- a/sbsv2/raptor/test/smoke_suite/test_resources/tracecompiler/testTC/group/bld.inf Tue Mar 02 09:17:29 2010 +0000 +++ b/sbsv2/raptor/test/smoke_suite/test_resources/tracecompiler/testTC/group/bld.inf Thu Mar 04 13:11:14 2010 +0000 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2009-2010 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" @@ -19,14 +19,6 @@ /* * You need tracecompiler to run this test. -* -* If you run this test from Raptor test frame you need to zip your tracecompiler -* and put it under "$(SBS_HOME)/test/manual_tests/test_resources/" first, then Raptor will unzip it later. -* This is because Raptor test frame removes tracecompiler from epoc32/tools/ at the very beginning, -* so you have to export to put it "back there" again. -* -* If you run this test NOT from Raptor test frame you do not need to do the above. -* Please just remove PRJ_EXPORTS and its contents below. */ PRJ_PLATFORMS diff -r 7029b5be2b15 -r 502501837ac4 sbsv2/raptor/test/smoke_suite/test_resources/tracecompiler/testTC/group/bld2.inf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sbsv2/raptor/test/smoke_suite/test_resources/tracecompiler/testTC/group/bld2.inf Thu Mar 04 13:11:14 2010 +0000 @@ -0,0 +1,28 @@ +/* +* Copyright (c) 2009-2010 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: +* +*/ + + + +/* +* You need tracecompiler to run this test. +*/ + +PRJ_PLATFORMS +ARMV5 + +PRJ_MMPFILES +test.TC.mmp diff -r 7029b5be2b15 -r 502501837ac4 sbsv2/raptor/test/smoke_suite/test_resources/tracecompiler/testTC/group/test.TC.mmp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sbsv2/raptor/test/smoke_suite/test_resources/tracecompiler/testTC/group/test.TC.mmp Thu Mar 04 13:11:14 2010 +0000 @@ -0,0 +1,45 @@ +/* +* Copyright (c) 2009-2010 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: +* +*/ + + +#include + +TARGET testTC.dll +TARGETTYPE dll +UID 0x1000008d + +CAPABILITY all + +DEFFILE ../eabi/ + +SOURCEPATH ../src +SOURCE wlanhwinit.cpp +SOURCE wlanhwinitmain.cpp +SOURCE wlanhwinitpermparser.cpp + +USERINCLUDE ../inc +USERINCLUDE ../traces +OS_LAYER_SYSTEMINCLUDE +SYSTEMINCLUDE /epoc32/include/libc +SYSTEMINCLUDE /epoc32/include/internal +SYSTEMINCLUDE /epoc32/include/platform + +LIBRARY euser.lib +LIBRARY iscapi.lib +LIBRARY isimessage.lib +LIBRARY efsrv.lib + diff -r 7029b5be2b15 -r 502501837ac4 sbsv2/raptor/test/smoke_suite/tracecompiler_whatlog.py --- a/sbsv2/raptor/test/smoke_suite/tracecompiler_whatlog.py Tue Mar 02 09:17:29 2010 +0000 +++ b/sbsv2/raptor/test/smoke_suite/tracecompiler_whatlog.py Thu Mar 04 13:11:14 2010 +0000 @@ -23,7 +23,7 @@ t.id = "112a" t.name = "tracecompiler_whatlog_clean" t.usebash = True - t.command = "sbs -b smoke_suite/test_resources/tracecompiler/testTC/group/bld.inf -c armv5.tracecompiler CLEAN" + t.command = "sbs -b smoke_suite/test_resources/tracecompiler/testTC/group/bld2.inf -c armv5.tracecompiler CLEAN" t.run("windows") t = CheckWhatSmokeTest() @@ -31,7 +31,7 @@ t.id = "112b" t.name = "tracecompiler_whatlog" t.usebash = True - t.command = "sbs -b smoke_suite/test_resources/tracecompiler/testTC/group/bld.inf -c armv5.tracecompiler -m ${SBSMAKEFILE} -f ${SBSLOGFILE} && cat ${SBSLOGFILE}" + t.command = "sbs -b smoke_suite/test_resources/tracecompiler/testTC/group/bld2.inf -c armv5.tracecompiler -m ${SBSMAKEFILE} -f ${SBSLOGFILE} && cat ${SBSLOGFILE}" t.hostossensitive = False t.regexlinefilter = re.compile("^<(whatlog|export|build>|resource>|bitmap>)") t.targets = [ @@ -47,12 +47,12 @@ "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitmainTraces.h", "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/wlanhwinitpermparserTraces.h", "$(SBS_HOME)/test/smoke_suite/test_resources/tracecompiler/testTC/traces/fixed_id.definitions", - "$(EPOCROOT)/epoc32/ost_dictionaries/testTC_0x1000008d_Dictionary.xml", - "$(EPOCROOT)/epoc32/include/internal/symbiantraces/autogen/testTC_0x1000008d_TraceDefinitions.h" + "$(EPOCROOT)/epoc32/ost_dictionaries/test_TC_0x1000008d_Dictionary.xml", + "$(EPOCROOT)/epoc32/include/internal/symbiantraces/autogen/test_TC_0x1000008d_TraceDefinitions.h" ] t.stdout = [ - "", - "", + "", + "", "$(EPOCROOT)/epoc32/release/armv5/lib/testTC.dso", "$(EPOCROOT)/epoc32/release/armv5/lib/testTC{000a0000}.dso", "$(EPOCROOT)/epoc32/release/armv5/lib/testTC{000a0000}.lib", @@ -61,8 +61,8 @@ "$(EPOCROOT)/epoc32/release/armv5/udeb/testTC.dll.map", "$(EPOCROOT)/epoc32/release/armv5/urel/testTC.dll", "$(EPOCROOT)/epoc32/release/armv5/urel/testTC.dll.map", - "$(EPOCROOT)/epoc32/ost_dictionaries/testTC_0x1000008d_Dictionary.xml", - "$(EPOCROOT)/epoc32/include/internal/SymbianTraces/autogen/testTC_0x1000008d_TraceDefinitions.h" + "$(EPOCROOT)/epoc32/ost_dictionaries/test_TC_0x1000008d_Dictionary.xml", + "$(EPOCROOT)/epoc32/include/internal/SymbianTraces/autogen/test_TC_0x1000008d_TraceDefinitions.h" ] t.run("windows") t.id = "112"