testexecfw/tef/test/tools/tefcmp.pl
changeset 0 3e07fef1e154
equal deleted inserted replaced
-1:000000000000 0:3e07fef1e154
       
     1 #
       
     2 # Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description: 
       
    15 #
       
    16 
       
    17 require tefcmp;
       
    18 ( $argv1, $argv2) = @ARGV;
       
    19 
       
    20 $_ = @ARGV;
       
    21 if ( ( @ARGV < 2 ) || (/(\-h|\-\-help|\/\?|\?)/) ) {
       
    22 	Usage();
       
    23 }
       
    24 
       
    25 compareBase2DABS($argv1, $argv2);
       
    26 print "\nDone." . "\nChecking dailyregresultfile.txt at current dir.\n"; 
       
    27 
       
    28 
       
    29 sub Usage () {
       
    30 	print <<ENDHERESTRING;
       
    31 Author : Shuo Huang
       
    32 	
       
    33 Common usage : TEFCmp [BaseDir] [DABSDir]
       
    34    Compare BaseDir to DABSDir. The compare result output at curernt directory, \
       
    35    file name is \"dailyregresultfile.txt\". The file will be overwrite eachtime.
       
    36 
       
    37 ENDHERESTRING
       
    38 	exit 1;
       
    39 }