# HG changeset patch # User Richard Taylor # Date 1267113742 0 # Node ID c86748d54051c222ea3b59b149fc71eb79d90239 # Parent ed4edcfbc38c1d34c628ad050189fbef62f5de28 a bad config is not a FatalError diff -r ed4edcfbc38c -r c86748d54051 sbsv2/raptor/RELEASE-NOTES.txt --- a/sbsv2/raptor/RELEASE-NOTES.txt Thu Feb 25 14:57:54 2010 +0000 +++ b/sbsv2/raptor/RELEASE-NOTES.txt Thu Feb 25 16:02:22 2010 +0000 @@ -15,6 +15,12 @@ - Stop copying .bmp files to epoc32/localisation and fix the "what" reporting +version 2.12.3 + +Defect Fixes: +- Don't print trace "what" information if we do not run the trace compiler. + + version 2.12.2 Defect Fixes: diff -r ed4edcfbc38c -r c86748d54051 sbsv2/raptor/python/raptor.py --- a/sbsv2/raptor/python/raptor.py Thu Feb 25 14:57:54 2010 +0000 +++ b/sbsv2/raptor/python/raptor.py Thu Feb 25 16:02:22 2010 +0000 @@ -897,7 +897,7 @@ gb = x.GenerateBuildUnits(self.cache) buildUnitsToBuild.update( gb ) except Exception, e: - self.FatalError(str(e)) + self.Error(str(e)) for b in buildUnitsToBuild: self.Info("Buildable configuration '%s'", b.name) diff -r ed4edcfbc38c -r c86748d54051 sbsv2/raptor/test/smoke_suite/keepgoing.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sbsv2/raptor/test/smoke_suite/keepgoing.py Thu Feb 25 16:02:22 2010 +0000 @@ -0,0 +1,82 @@ +# +# Copyright (c) 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: +# + +from raptor_tests import SmokeTest + +def run(): + t = SmokeTest() + t.description = """Raptor should keep going and build as much as possible with the -k option specified.""" + + command = "sbs -b smoke_suite/test_resources/simple/bld.inf -k" + + targets = [ + "$(EPOCROOT)/epoc32/release/armv5/udeb/test.exe", + "$(EPOCROOT)/epoc32/release/armv5/udeb/test.exe.map", + "$(EPOCROOT)/epoc32/release/armv5/urel/test.exe", + "$(EPOCROOT)/epoc32/release/armv5/urel/test.exe.map", + "$(EPOCROOT)/epoc32/release/armv5/udeb/test.exe.sym", + "$(EPOCROOT)/epoc32/release/armv5/urel/test.exe.sym" + ] + buildtargets = [ + "test_/armv5/udeb/test.o", + "test_/armv5/urel/test.o", + "test_/armv5/udeb/test.o.d", + "test_/armv5/udeb/test3.o.d", + "test_/armv5/udeb/test4.o.d", + "test_/armv5/udeb/test5.o.d", + "test_/armv5/udeb/test1.o.d", + "test_/armv5/udeb/test6.o.d", + "test_/armv5/udeb/test2.o.d", + "test_/armv5/udeb/test3.o", + "test_/armv5/udeb/test4.o", + "test_/armv5/udeb/test5.o", + "test_/armv5/udeb/test1.o", + "test_/armv5/udeb/test6.o", + "test_/armv5/udeb/test2.o", + "test_/armv5/urel/test.o.d", + "test_/armv5/urel/test3.o.d", + "test_/armv5/urel/test4.o.d", + "test_/armv5/urel/test5.o.d", + "test_/armv5/urel/test1.o.d", + "test_/armv5/urel/test6.o.d", + "test_/armv5/urel/test2.o.d", + "test_/armv5/urel/test3.o", + "test_/armv5/urel/test4.o", + "test_/armv5/urel/test5.o", + "test_/armv5/urel/test1.o", + "test_/armv5/urel/test6.o", + "test_/armv5/urel/test2.o", + "test_/armv5/udeb/test_udeb_objects.via", + "test_/armv5/urel/test_urel_objects.via" + ] + + # using a non-existent config with -c should build any independent configs + t.id = "115a" + t.name = "keepgoing_bad_config" + t.command = command + " -c armv5 -c armv5.bogus" + t.targets = targets + t.addbuildtargets("smoke_suite/test_resources/simple/bld.inf", buildtargets) + t.mustmatch = ["sbs: error: Unknown build configuration 'armv5.bogus'"] + t.warnings = 0 + t.errors = 1 + t.returncode = 1 + t.run() + + # summarise + t.id = "115" + t.name = "keepgoing" + t.print_result() + return t