uh_parser/RaptorCommon.pm
changeset 185 b76adfbc6648
parent 176 6d3c3db11e72
child 236 08436a227940
equal deleted inserted replaced
184:978ef35b4e5f 185:b76adfbc6648
    29 	}
    29 	}
    30 }
    30 }
    31 
    31 
    32 sub dump_fault
    32 sub dump_fault
    33 {
    33 {
    34 	my ($category, $subcategory, $severity, $location, $component, $mmp, $phase, $recipe, $file, $line) = @_;
    34 	my ($category, $subcategory, $severity, $location, $component, $mmp, $phase, $recipe, $file) = @_;
       
    35 	
       
    36 	$::failure_item_number++;
    35 	
    37 	
    36 	open(SUMMARY, ">>$::raptorbitsdir/summary.csv");
    38 	open(SUMMARY, ">>$::raptorbitsdir/summary.csv");
    37 	print SUMMARY "$category,$subcategory,$severity,$location,$component,$mmp,$phase,$recipe,$file,$line\n";
    39 	print SUMMARY "$category,$subcategory,$severity,$location,$component,$mmp,$phase,$recipe,$file,$::failure_item_number\n";
    38 	close(SUMMARY);
    40 	close(SUMMARY);
    39 }
    41 }
    40 
    42 
    41 1;
    43 1;