common/tools/ats/ats_specialise_test_drop.pl
changeset 1027 8f26271e902e
parent 993 4ae26accd7da
parent 991 f2c5bb4624be
child 1028 11f25704ec27
equal deleted inserted replaced
1025:a370015021c1 1027:8f26271e902e
   139 $test_drop->{'test'}->{'name'}->[0] = $test_drop_name, if $test_drop_name;
   139 $test_drop->{'test'}->{'name'}->[0] = $test_drop_name, if $test_drop_name;
   140 # Insert the specified build id, if any.
   140 # Insert the specified build id, if any.
   141 $test_drop->{'test'}->{'buildid'}->[0] = $build_id, if $build_id;
   141 $test_drop->{'test'}->{'buildid'}->[0] = $build_id, if $build_id;
   142 # Insert the path to the ROM image
   142 # Insert the path to the ROM image
   143 if ($image_path) {
   143 if ($image_path) {
   144     $test_drop->{'test'}->{'plan'}->[0]->{'flash'}->[0];
   144 	$test_drop->{'test'}->{'plan'}->[0]->{'flash'}->[0];
   145     my $flash_params = $test_drop->{'test'}->{'plan'}->[0]->{'flash'};
   145 	my $flash_params = $test_drop->{'test'}->{'plan'}->[0]->{'flash'};
   146     $flash_params->[0] = { 'target-alias' => $test_target, 'images' => $image_path };
   146     $flash_params->[0] = { 'target-alias' => $test_target, 'images' => $image_path };
   147 }
   147 }
   148 
   148 
   149 # Insert the FileStoreAction parameter
   149 # Insert the FileStoreAction parameter
   150 my $postaction_params = $test_drop->{'test'}->{'postAction'}->[0]->{'params'}->{'param'}, if $publish;
   150 my $postaction_params = $test_drop->{'test'}->{'postAction'}->[0]->{'params'}->{'param'}, if $publish;