# HG changeset patch # User Pat Downey # Date 1273663895 -3600 # Node ID 9983d8eb2250711a52e894c6e81b112b372ca4dc # Parent f2c5bb4624bebdd8412de06cba8264a5f2e7b4c6# Parent 9a43fe34cdb4fc48b8333134727699d5f7392b64 Merge ats_specialise_drop to insert ROM image parameters. diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/build.postbuild.xml --- a/common/build.postbuild.xml Wed Mar 31 11:13:39 2010 +0100 +++ b/common/build.postbuild.xml Wed May 12 12:31:35 2010 +0100 @@ -79,7 +79,9 @@ - + + + @@ -241,6 +243,7 @@ + @@ -354,6 +357,7 @@ + @@ -567,8 +571,8 @@ - - + + @@ -576,6 +580,9 @@ + + + @@ -628,13 +635,18 @@ + + + + + - + - - - + + + @@ -844,6 +856,7 @@ + diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/build.retry.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/build.retry.xml Wed May 12 12:31:35 2010 +0100 @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/build.test.xml --- a/common/build.test.xml Wed Mar 31 11:13:39 2010 +0100 +++ b/common/build.test.xml Wed May 12 12:31:35 2010 +0100 @@ -150,6 +150,7 @@ + @@ -170,6 +171,12 @@ + + + + + + @@ -182,9 +189,13 @@ - - - - + + + + + + + + diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/build.xml --- a/common/build.xml Wed Mar 31 11:13:39 2010 +0100 +++ b/common/build.xml Wed May 12 12:31:35 2010 +0100 @@ -60,7 +60,8 @@ - + + @@ -114,6 +115,11 @@ + + + + + diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/common_props.ant.xml --- a/common/common_props.ant.xml Wed Mar 31 11:13:39 2010 +0100 +++ b/common/common_props.ant.xml Wed May 12 12:31:35 2010 +0100 @@ -101,6 +101,7 @@ + diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/templates/run-qmake.ant.xml.ftl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/templates/run-qmake.ant.xml.ftl Wed May 12 12:31:35 2010 +0100 @@ -0,0 +1,33 @@ + + + + + + <#list data["//unit/@proFile/.."] as unit> + + Running qmake for ${unit.@bldFile}/${unit.@proFile} + + + + + + + + <#if unit.@qmakeArgs[0]??> + + <#else> + + + + + + + + + + + + + + + diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/templates/source-spec.ant.xml.ftl --- a/common/templates/source-spec.ant.xml.ftl Wed Mar 31 11:13:39 2010 +0100 +++ b/common/templates/source-spec.ant.xml.ftl Wed May 12 12:31:35 2010 +0100 @@ -3,6 +3,8 @@ <#assign dollar = "$"/> + + @@ -30,14 +32,20 @@ - - - - - - - - + + + + + + + + + + + + + + @@ -45,13 +53,18 @@ - - - - - + + + + + + + + + + - + @@ -78,13 +91,20 @@ - - - - - - - + + + + + + + + + + + + + + @@ -95,13 +115,21 @@ - - - - - - - + + + + + + + + + + + + + + + diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/templates/zip.cfg.xml.ftl.template --- a/common/templates/zip.cfg.xml.ftl.template Wed Mar 31 11:13:39 2010 +0100 +++ b/common/templates/zip.cfg.xml.ftl.template Wed May 12 12:31:35 2010 +0100 @@ -117,6 +117,18 @@ + + + + + + + + + + + + diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/tools/ats/ats_specialise_test_drop.pl --- a/common/tools/ats/ats_specialise_test_drop.pl Wed Mar 31 11:13:39 2010 +0100 +++ b/common/tools/ats/ats_specialise_test_drop.pl Wed May 12 12:31:35 2010 +0100 @@ -40,6 +40,8 @@ my $temp_dest_name; # Leafname of temporary output file, if $destfile undefined. my $publish; # Publishing folder for ats reports. my $bld_drive; # Subst'd drive +my $test_target; # The target which the tests will be run on +my $image_path; # The path to the ROM image used for testing (not valid for WINSCW target) sub usage($); sub help(); @@ -47,13 +49,15 @@ sub silent_command($); my %optmap = ( 'test-drop-name' => \$test_drop_name, - 'host-name' => \$host_name, - 'build-id' => \$build_id, - 'src' => \$srcfile, - 'dest' => \$destfile, + 'host-name' => \$host_name, + 'build-id' => \$build_id, + 'src' => \$srcfile, + 'dest' => \$destfile, 'help' => \$help, 'publish' => \$publish, - 'bld-drive' => \$bld_drive); + 'bld-drive' => \$bld_drive, + 'test-target' => \$test_target, + 'image-path' => \$image_path); GetOptions(\%optmap, 'test-drop-name=s', @@ -63,7 +67,9 @@ 'dest=s', 'help!', 'publish=s', - 'bld-drive=s') + 'bld-drive=s', + 'test-target=s', + 'image-path=s') or usage_error(); # Check if Tie::File module installed @@ -126,13 +132,20 @@ # Parse the input XML into hashref. my $test_drop = XMLin("./$xml_in", keeproot => 1, - forcearray => [ 'name', 'id','owner','priority','buildid','postAction','type','target','device', 'property', 'command', 'param'],# + forcearray => [ 'name', 'id', 'owner', 'priority', 'buildid', 'postAction', 'type', 'target', 'device', 'property', 'command', 'param', 'plan'],# keyattr => [] ); # Insert the specified test drop name, if any. $test_drop->{'test'}->{'name'}->[0] = $test_drop_name, if $test_drop_name; # Insert the specified build id, if any. $test_drop->{'test'}->{'buildid'}->[0] = $build_id, if $build_id; +# Insert the path to the ROM image +if ($image_path) { + $test_drop->{'test'}->{'plan'}->[0]->{'flash'}->[0]; + my $flash_params = $test_drop->{'test'}->{'plan'}->[0]->{'flash'}; + $flash_params->[0] = { 'target-alias' => $test_target, 'images' => $image_path }; +} + # Insert the FileStoreAction parameter my $postaction_params = $test_drop->{'test'}->{'postAction'}->[0]->{'params'}->{'param'}, if $publish; $postaction_params->[1] = { 'name' => "to-folder", 'value' => $publish }, if $publish; diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/tools/ats/devices/c100782/EMULATOR_ATSINTERFACE_c100782.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/devices/c100782/EMULATOR_ATSINTERFACE_c100782.properties Wed May 12 12:31:35 2010 +0100 @@ -0,0 +1,24 @@ + +NAME=EMULATOR on c100782 + +CATEGORY=hardware + +TYPE=WINSCW + +CONNECTION=emulator + +TEMPDIR=G:\\ats3 + +CLASS=RTestableDevice + +HARNESS=ATSINTERFACE + +#reinstall files after reboot +REINSTALL=false + +PLATFORM=WINSCW +BUILD=udeb + +IMAGE=winscw_smoketest + + diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/tools/ats/devices/c100782/EMULATOR_GENERIC_c100782.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/devices/c100782/EMULATOR_GENERIC_c100782.properties Wed May 12 12:31:35 2010 +0100 @@ -0,0 +1,24 @@ + +NAME=EMULATOR on c100782 + +CATEGORY=hardware + +TYPE=WINSCW + +CONNECTION=emulator + +TEMPDIR=G:\\ats3 + +CLASS=GenericTestableDevice + +HARNESS=GENERIC + +#reinstall files after reboot +REINSTALL=false + +PLATFORM=WINSCW +BUILD=udeb + +IMAGE=winscw_smoketest + + diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/tools/ats/devices/c100782/SYBORG_ATSINTERFACE_c100782.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/devices/c100782/SYBORG_ATSINTERFACE_c100782.properties Wed May 12 12:31:35 2010 +0100 @@ -0,0 +1,30 @@ + +NAME=SYBORG on c100782 + +CATEGORY=hardware + +TYPE=Syborg + +CONNECTION=HTI + +TEMPDIR=G:\\ats3 + +CLASS=RTestableDevice + +HARNESS=ATSINTERFACE + +FLASHER=syborgflasher + +FLASHING_ENABLED=true + +BOOT_TIME = 90 + +#reinstall files after reboot +REINSTALL=false + +PLATFORM=armv5 +BUILD=urel + +# comms settings +DGW_PORT=3336 +DGW_COMPORT=COM6 diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/tools/ats/devices/c100782/SYBORG_GENERIC_c100782.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/devices/c100782/SYBORG_GENERIC_c100782.properties Wed May 12 12:31:35 2010 +0100 @@ -0,0 +1,30 @@ + +NAME=SYBORG on c100782 + +CATEGORY=hardware + +TYPE=Syborg + +CONNECTION=HTI + +TEMPDIR=G:\\ats3 + +CLASS=GenericTestableDevice + +HARNESS=GENERIC + +FLASHER=syborgflasher + +FLASHING_ENABLED=true + +BOOT_TIME = 90 + +#reinstall files after reboot +REINSTALL=false + +PLATFORM=armv5 +BUILD=urel + +# comms settings +DGW_PORT=3337 +DGW_COMPORT=COM6 diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/tools/brag/brag.xsl --- a/common/tools/brag/brag.xsl Wed Mar 31 11:13:39 2010 +0100 +++ b/common/tools/brag/brag.xsl Wed May 12 12:31:35 2010 +0100 @@ -21,10 +21,9 @@

Overall BRAGG staus: - BLACK - RED - RED - AMBER + RED + AMBER + AMBER GREEN

diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/tools/brag/bragForDiamonds.xsl --- a/common/tools/brag/bragForDiamonds.xsl Wed Mar 31 11:13:39 2010 +0100 +++ b/common/tools/brag/bragForDiamonds.xsl Wed May 12 12:31:35 2010 +0100 @@ -12,10 +12,9 @@ - Black - Red - Red - Amber + Red + Amber + Amber Green diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/tools/brag/uh2brag.pl --- a/common/tools/brag/uh2brag.pl Wed Mar 31 11:13:39 2010 +0100 +++ b/common/tools/brag/uh2brag.pl Wed May 12 12:31:35 2010 +0100 @@ -43,10 +43,11 @@ { while (my $line = ) { - if ($line =~ m{.*(\d+)(\d+)(\d+)(\d+)}) + if ($line =~ m{.*(\d+)(\d+)(\d+)(\d+)((\d+))?}) { $criticals += $1 if ($1); $majors += $2 if ($2); + $majors += $6 if ($6); # add number of missing files to majors $minors += $3 if ($3); $unknowns += $4 if ($4); } diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/tools/csvToSysDef.pl --- a/common/tools/csvToSysDef.pl Wed Mar 31 11:13:39 2010 +0100 +++ b/common/tools/csvToSysDef.pl Wed May 12 12:31:35 2010 +0100 @@ -153,7 +153,14 @@ $tagName =~ s{^main::}{}; if ($tagName eq "Characters") { - print $tree->{Text}; + if ($tree->{Text} =~ m{[<>&]}) + { + print "{Text}]]>"; + } + else + { + print $tree->{Text}; + } return; } @@ -161,7 +168,7 @@ foreach my $attr ( sort { - my $order = "name long-name tech_domain level span schema levels filter introduced deprecated purpose class plugin origin-model bldFile mrp version priority"; + my $order = "name long-name tech_domain level span schema levels filter introduced deprecated purpose class plugin origin-model bldFile proFile qmakeArgs mrp version priority"; my $ixA = index $order, $a; my $ixB = index $order, $b; die "$a $b" if $ixA + $ixB == -2; @@ -172,7 +179,11 @@ } keys %$tree) { - print " $attr=\"$tree->{$attr}\""; + my $value_escaped = $tree->{$attr}; + $value_escaped =~ s/&/&/g; + $value_escaped =~ s//>/g; + print " $attr=\"$value_escaped\""; } my $children = $tree->{Kids}; diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/tools/lib/XML/Printer.pm --- a/common/tools/lib/XML/Printer.pm Wed Mar 31 11:13:39 2010 +0100 +++ b/common/tools/lib/XML/Printer.pm Wed May 12 12:31:35 2010 +0100 @@ -55,7 +55,11 @@ } keys %$tree) { - print " $attr=\"$tree->{$attr}\""; + my $value_escaped = $tree->{$attr}; + $value_escaped =~ s/&/&/g; + $value_escaped =~ s//>/g; + print " $attr=\"$value_escaped\""; } my $children = $tree->{Kids} || []; diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/tools/listdir.py --- a/common/tools/listdir.py Wed Mar 31 11:13:39 2010 +0100 +++ b/common/tools/listdir.py Wed May 12 12:31:35 2010 +0100 @@ -26,9 +26,9 @@ if(len(sys.argv)>2): x_dirs = string.lower(sys.argv[2]) exclude_dirs = re.split(',', x_dirs) - scandir(directory, exclude_dirs) + scandir(directory, exclude_dirs,directory) -def scandir(top, exclude_dirs): +def scandir(top, exclude_dirs,directory): fixpath = re.compile('\\\\') fixroot = re.compile('^%s\\\\' % top) for root, dirs, files in os.walk(top, topdown=True): @@ -38,6 +38,6 @@ for name in files: filename = os.path.join(root, name) fn = string.lower(fixpath.sub('/',fixroot.sub('',filename))) - print fn + print fn.strip(directory) main() diff -r 9a43fe34cdb4 -r 9983d8eb2250 common/tools/populateziptemplate.pl --- a/common/tools/populateziptemplate.pl Wed Mar 31 11:13:39 2010 +0100 +++ b/common/tools/populateziptemplate.pl Wed May 12 12:31:35 2010 +0100 @@ -72,15 +72,21 @@ { warn "Warning: Package $package->{dst} does not appear on the local system\n" unless -d $package->{dst}; $package->{dst} =~ s{^/}{}g; - if ($package->{source} =~ m{/(sfl|oss)/(MCL|FCL)/(sf|sftools|interim)/(([^/]+)/)?([^/]+)?}) + if ($package->{source} =~ m{/(sfl|oss)/(MCL|FCL)/(sf|utilities|sftools|interim)/(([^/]+)/)?([^/]+)?}) { my ($license, $codeline, $thingy, $layer, $packageName) = ($1, $2, $3, $5, $6); # $thingy is the part of the path after the codeline. For # platform packages, it's "sf". For the utilities package, it's - # "sftools". + # "sftools", or "utilities, depending on the URL used to + # obtain it. # # I can't think of anything to describe this item, hence $thingy - if ($thingy eq "sftools") + if ($thingy eq "utilities") + { + $layer = "tools"; + $packageName = "utilities"; + } + elsif ($thingy eq "sftools") { $layer = "tools"; } diff -r 9a43fe34cdb4 -r 9983d8eb2250 sf-package/package_props.ant.xml --- a/sf-package/package_props.ant.xml Wed Mar 31 11:13:39 2010 +0100 +++ b/sf-package/package_props.ant.xml Wed May 12 12:31:35 2010 +0100 @@ -31,5 +31,8 @@ + + + diff -r 9a43fe34cdb4 -r 9983d8eb2250 sf-platform/compile.ant.xml --- a/sf-platform/compile.ant.xml Wed Mar 31 11:13:39 2010 +0100 +++ b/sf-platform/compile.ant.xml Wed May 12 12:31:35 2010 +0100 @@ -39,6 +39,7 @@ + @@ -73,6 +74,7 @@ +
diff -r 9a43fe34cdb4 -r 9983d8eb2250 sf-tools/build.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sf-tools/build.xml Wed May 12 12:31:35 2010 +0100 @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + INFO Tools build requires minimum of Helium 7.0 + + + + + [SF-BUILD-NOPREP] INFO:(tools) + [SF-BUILD-NOPREP] WARNING: Not generating model from packages + + + + INFO: Bootstrap files required by SBSv2 + + + + + + + + + + + + INFO: Explicit export of files needed for tools build + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 9a43fe34cdb4 -r 9983d8eb2250 sf-tools/hlm.bat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sf-tools/hlm.bat Wed May 12 12:31:35 2010 +0100 @@ -0,0 +1,7 @@ +@echo off +setlocal +call %~dp0..\common\hlm.bat %* +endlocal + + + \ No newline at end of file diff -r 9a43fe34cdb4 -r 9983d8eb2250 sf-tools/tools_props.ant.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sf-tools/tools_props.ant.xml Wed May 12 12:31:35 2010 +0100 @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 9a43fe34cdb4 -r 9983d8eb2250 sf-tools/tools_refs.ant.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sf-tools/tools_refs.ant.xml Wed May 12 12:31:35 2010 +0100 @@ -0,0 +1,5 @@ + + + + +