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