common/tools/ats/ats_specialise_test_drop.pl
changeset 823 65dc12e0fcac
parent 821 b24df46a3102
child 836 675529c38614
equal deleted inserted replaced
822:1a356be50bf9 823:65dc12e0fcac
   120     $xml_in = $srcfile;
   120     $xml_in = $srcfile;
   121 }
   121 }
   122 
   122 
   123 # Parse the input XML into hashref.
   123 # Parse the input XML into hashref.
   124 my $test_drop = XMLin("./$xml_in", keeproot => 1,
   124 my $test_drop = XMLin("./$xml_in", keeproot => 1,
   125     forcearray => [ 'name', 'id','owner','priority','buildid','postaction','type','target','device', 'property', 'command', 'param'],#
   125     forcearray => [ 'name', 'id','owner','priority','buildid','postAction','type','target','device', 'property', 'command', 'param'],#
   126         keyattr => [] );
   126         keyattr => [] );
   127     
   127     
   128 # Insert the specified test drop name, if any.
   128 # Insert the specified test drop name, if any.
   129 $test_drop->{'test'}->{'name'}->[0] = $test_drop_name, if $test_drop_name;
   129 $test_drop->{'test'}->{'name'}->[0] = $test_drop_name, if $test_drop_name;
   130 # Insert the specified build id, if any.
   130 # Insert the specified build id, if any.