# HG changeset patch # User Chetan Kapoor # Date 1272931497 -3600 # Node ID a65c8f61a120dd3626e0c1e8ed4e4a253597aab2 # Parent bd44a5c3330c322e408d8cfacfc2f1e1900e1d43# Parent 006636b46e3d205166edeca7572115eabb8d572f Merge diff -r bd44a5c3330c -r a65c8f61a120 common/build.postbuild.xml --- a/common/build.postbuild.xml Wed Apr 28 15:19:18 2010 +0100 +++ b/common/build.postbuild.xml Tue May 04 01:04:57 2010 +0100 @@ -648,13 +648,21 @@ + + + + + + + + - + - - - + + + diff -r bd44a5c3330c -r a65c8f61a120 common/build.test.xml --- a/common/build.test.xml Wed Apr 28 15:19:18 2010 +0100 +++ b/common/build.test.xml Tue May 04 01:04:57 2010 +0100 @@ -155,22 +155,47 @@ - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -183,9 +208,14 @@ - - - - + + + + + + + + + diff -r bd44a5c3330c -r a65c8f61a120 common/build.xml --- a/common/build.xml Wed Apr 28 15:19:18 2010 +0100 +++ b/common/build.xml Tue May 04 01:04:57 2010 +0100 @@ -497,7 +497,7 @@ - + diff -r bd44a5c3330c -r a65c8f61a120 common/common_props.ant.xml --- a/common/common_props.ant.xml Wed Apr 28 15:19:18 2010 +0100 +++ b/common/common_props.ant.xml Tue May 04 01:04:57 2010 +0100 @@ -101,7 +101,8 @@ - + + diff -r bd44a5c3330c -r a65c8f61a120 common/templates/run-qmake.ant.xml.ftl --- a/common/templates/run-qmake.ant.xml.ftl Wed Apr 28 15:19:18 2010 +0100 +++ b/common/templates/run-qmake.ant.xml.ftl Tue May 04 01:04:57 2010 +0100 @@ -2,9 +2,15 @@ + + + <#list data["//unit/@proFile/.."] as unit> + + <#if (unit.@proFile!="hb.pro")> + Running qmake for ${unit.@bldFile}/${unit.@proFile} @@ -25,9 +31,32 @@ + <#else> + + Running configure.py for ${unit.@bldFile}/${unit.@proFile} + + + + + + + + + + + + + + + + + + + + diff -r bd44a5c3330c -r a65c8f61a120 common/tools/ats/ats_specialise_test_drop.pl --- a/common/tools/ats/ats_specialise_test_drop.pl Wed Apr 28 15:19:18 2010 +0100 +++ b/common/tools/ats/ats_specialise_test_drop.pl Tue May 04 01:04:57 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 bd44a5c3330c -r a65c8f61a120 common/tools/ats/devices/c100782/SYBORG_ATSINTERFACE_c100782.properties --- a/common/tools/ats/devices/c100782/SYBORG_ATSINTERFACE_c100782.properties Wed Apr 28 15:19:18 2010 +0100 +++ b/common/tools/ats/devices/c100782/SYBORG_ATSINTERFACE_c100782.properties Tue May 04 01:04:57 2010 +0100 @@ -17,7 +17,7 @@ FLASHING_ENABLED=true -BOOT_TIME = 90 +BOOT_TIME = 500 #reinstall files after reboot REINSTALL=false diff -r bd44a5c3330c -r a65c8f61a120 common/tools/ats/devices/c100782/SYBORG_GENERIC_c100782.properties --- a/common/tools/ats/devices/c100782/SYBORG_GENERIC_c100782.properties Wed Apr 28 15:19:18 2010 +0100 +++ b/common/tools/ats/devices/c100782/SYBORG_GENERIC_c100782.properties Tue May 04 01:04:57 2010 +0100 @@ -17,7 +17,7 @@ FLASHING_ENABLED=true -BOOT_TIME = 90 +BOOT_TIME = 500 #reinstall files after reboot REINSTALL=false diff -r bd44a5c3330c -r a65c8f61a120 common/tools/listdir.py --- a/common/tools/listdir.py Wed Apr 28 15:19:18 2010 +0100 +++ b/common/tools/listdir.py Tue May 04 01:04:57 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,directory) + scandir(directory, exclude_dirs) -def scandir(top, exclude_dirs,directory): +def scandir(top, exclude_dirs): 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.strip(directory) + print top+"/"+fn main() diff -r bd44a5c3330c -r a65c8f61a120 sf-tools/build.xml --- a/sf-tools/build.xml Wed Apr 28 15:19:18 2010 +0100 +++ b/sf-tools/build.xml Tue May 04 01:04:57 2010 +0100 @@ -48,8 +48,8 @@ - - + +