cellularsrvapitest/datatransferhaitest/group/testdriversetup.pl
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     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 use Cwd;
       
    17 
       
    18 my $theEpocRoot=$ENV{EPOCROOT};
       
    19 my $epoc32Location="$theEpocRoot.\\epoc32";
       
    20 
       
    21 my $currentDirectory=cwd;
       
    22 $currentDirectory =~ s/Group//i;
       
    23 $currentDirectory =~ s/\//\\/g;
       
    24 
       
    25 my $currentDrive = substr($currentDirectory,0,2);
       
    26 
       
    27 my	$cmd="TestDriver config";
       
    28 my	$suite="file:/$currentDrive$epoc32Location\\testdriver\\salt\\datatransferhai.driver";
       
    29 $suite =~ s.\\./.g;
       
    30 $suite =~ s\/./\/\g;
       
    31 
       
    32 $cmd .= " --bldclean OFF";
       
    33 $cmd .= " --bldmake OFF";
       
    34 $cmd .= " -e $currentDrive$theEpocRoot";
       
    35 $cmd .= " -x $currentDrive$epoc32Location\\testdriver\\salt";
       
    36 $cmd .= " --repos $currentDrive$epoc32Location\\testdriver\\Repository";
       
    37 $cmd .= " -c $currentDrive$epoc32Location\\testdriver\\Results";
       
    38 $cmd .= " -i $currentDirectory";
       
    39 $cmd .= " -s $suite";
       
    40 $cmd .= " --source $currentDirectory";
       
    41 $cmd .= " --tp $currentDirectory";
       
    42 $cmd .= " --testexec AUTO";
       
    43 $cmd .= " --statlite false";
       
    44 $cmd .= " --teflite true";
       
    45 $cmd .= " --commdb overwrite";
       
    46 system("$cmd");