common/tools/raptor/RaptorCommon.pm
changeset 923 5ccf9d5ab663
parent 922 996297fad800
parent 907 bab81256b297
child 924 a5ed0e6ca679
--- a/common/tools/raptor/RaptorCommon.pm	Thu Mar 11 13:20:26 2010 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-# Copyright (c) 2009 Symbian Foundation Ltd
-# This component and the accompanying materials are made available
-# under the terms of the License "Eclipse Public License v1.0"
-# which accompanies this distribution, and is available
-# at the URL "http://www.eclipse.org/legal/epl-v10.html".
-#
-# Initial Contributors:
-# Symbian Foundation Ltd - initial contribution.
-#
-# Contributors:
-#
-# Description:
-# Common constants for the raptor parser suite
-
-package RaptorCommon;
-
-our $SEVERITY_CRITICAL = 'critical';
-our $SEVERITY_MAJOR = 'major';
-our $SEVERITY_MINOR = 'minor';
-
-sub init
-{
-	my $filename = "$::raptorbitsdir/summary.csv";
-	if (!-f$filename)
-	{
-		print "Writing summary file $filename\n";
-		open(SUMMARY, ">$filename");
-		close(SUMMARY);
-	}
-}
-
-sub dump_fault
-{
-	my ($category, $subcategory, $severity, $location, $component, $mmp, $phase, $recipe, $file, $line) = @_;
-	
-	open(SUMMARY, ">>$::raptorbitsdir/summary.csv");
-	print SUMMARY "$category,$subcategory,$severity,$location,$component,$mmp,$phase,$recipe,$file,$line\n";
-	close(SUMMARY);
-}
-
-1;