author | John Imhofe <john.imhofe@nokia.com> |
Mon, 21 Dec 2009 16:14:42 +0000 | |
changeset 15 | 4122176ea935 |
parent 0 | a41df078684a |
permissions | -rw-r--r-- |
0 | 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 |
|
15
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
5 |
# under the terms of "Eclipse Public License v1.0" |
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 |
# |
|
15
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
14 |
# Description: |
0 | 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\\testproduct\\base.driver#base"; |
|
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\\testproduct"; |
|
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 .= " --platsec ON"; |
|
43 |
$cmd .= " --testexec ON"; |
|
44 |
$cmd .= " --commdb overwrite"; |
|
45 |
$cmd .= " --testtimelimit 600000"; |
|
46 |
system("$cmd"); |