Changeset 37314 for tags/ipp-pv3-20140717
- Timestamp:
- Aug 26, 2014, 4:21:47 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-pv3-20140717/ippScripts/scripts/sc_prepare_chip.pl
r37298 r37314 32 32 my $detselect= can_run('detselect') or (warn "Can't find detselect" and $missing_tools = 1); 33 33 my $remotetool = can_run('remotetool') or (warn "Can't find remotetool" and $missing_tools = 1); 34 my $ipp_burntool_fix = can_run('ipp_apply_burntool_fix.pl') or (warn "Can't find ipp_apply_burntool_fix.pl" and $missing_tools = 1); 34 35 35 36 if ($missing_tools) { … … 199 200 my ($ipp_btt, $remote_btt) = uri_to_outputs_raw($btt); 200 201 202 # Check burntool table for existance, and if it doesn't, regenerate it. 203 unless (-e $ipp_btt) { 204 my $exp_name = $chipEntry->{exp_name}; 205 my $burntool_command = "$ipp_burntool_fix --exp_name $exp_name --class_id $class_id"; 206 $burntool_command .= " -dbname $dbname" if defined($dbname); 207 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 208 run(command => $burntool_command, verbose => $dbverbose); 209 # That command repairs the tables, but the instance we learned about may not be correct. 210 # Look up the new one. 211 ($ipp_btt, $remote_btt) = uri_to_outputs_raw($btt); 212 213 unless (-e $ipp_btt) { 214 &my_die("Attempted regeneration of burntool table has failed. Stopping everything.", $remote_id,$chip_id, $PS_EXIT_CONFIG_ERROR, $fail_state); 215 } 216 } 217 201 218 # Initialize the ppI command 202 219 my $ppImage_command = "ppImage -file $remote_uri";
Note:
See TracChangeset
for help on using the changeset viewer.
