First public contribution.
2 # Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 # Initial Contributors:
10 # Nokia Corporation - initial contribution.
25 perl testdriversetup.pl --statlite=StatLite
27 StatLite = [true | false ]
40 'statlite=s'=> \$statLite,
44 if($help or (($statLite ne "true") and ($statLite ne "false")) )
50 my $theEpocRoot=$ENV{EPOCROOT};
51 my $epoc32Location="$theEpocRoot.\\epoc32";
53 my $currentDirectory=cwd;
54 $currentDirectory =~ s/Group//i;
55 $currentDirectory =~ s/\//\\/g;
57 my $currentDrive = substr($currentDirectory,0,2);
59 my $cmd="TestDriver config";
60 my $suite="file:/$currentDrive$epoc32Location\\testdriver\\salt\\screendriverhai.driver";
64 $cmd .= " --bldclean OFF";
65 $cmd .= " --bldmake OFF";
66 $cmd .= " -e $currentDrive$theEpocRoot";
67 $cmd .= " -x $currentDrive$epoc32Location\\testdriver\\salt";
68 $cmd .= " --repos $currentDrive$epoc32Location\\testdriver\\Repository";
69 $cmd .= " -c $currentDrive$epoc32Location\\testdriver\\Results";
70 $cmd .= " -i $currentDirectory";
72 $cmd .= " --source $currentDirectory";
73 $cmd .= " --tp $currentDirectory";
74 $cmd .= " --testexec true";
75 $cmd .= " --statlite $statLite";
76 $cmd .= " --teflite true";
77 $cmd .= " --commdb overwrite";