IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28064


Ignore:
Timestamp:
May 21, 2010, 9:46:59 AM (16 years ago)
Author:
bills
Message:

fault the dependent if the component faults.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstamp_checkdependent.pl

    r28047 r28064  
    8080my $whole_run = ($component eq 'all');
    8181
     82# XXX: whole_run was a concept that isn't practical. Having one dependent for
     83# a whole run makes finding errors too hard. We always have a dependent for each
     84# component.
     85# XXX: remove the unneeded code
     86my_die("component = 'all' not supported", $PS_EXIT_PROG_ERROR) if $whole_run;;
     87
    8288if ($whole_run) {
    8389    if ($stage eq "chip") {
     
    140146    #       For example if warpSkyfile is in update state but the chip run that it depends on hasn't
    141147    #       been updated we need to go and queue it.
     148
     149    if ($it->{fault}) {
     150        my_die("Component faulted on update dep_id: $dep_id",
     151                $PS_EXIT_SYS_ERROR);
     152    }
    142153
    143154    if ($stage eq 'chip') {
Note: See TracChangeset for help on using the changeset viewer.