0
|
1 |
/*
|
|
2 |
* Copyright (c) 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 the License "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 |
|
|
18 |
NokiaTSY Test Tool -installer
|
|
19 |
-----------------------------
|
|
20 |
|
|
21 |
DESCRIPTION:
|
|
22 |
------------
|
|
23 |
This installer is made to guide you through the NokiaTSY Test Tool installation
|
|
24 |
process. It will check that you have the necessary components installed and it
|
|
25 |
will automatically modify the necessary files to run the tests. These
|
|
26 |
modifications are put behind flag, so you can easily turn them ON and OFF
|
|
27 |
after the installation.
|
|
28 |
|
|
29 |
|
|
30 |
INSTALLATION:
|
|
31 |
-------------
|
|
32 |
1. Check that you have your development environment is installed.
|
|
33 |
2. Check that you have mapped your environment correctly. (i.e. subst X: C:\Devlon\Devlon70wk47)
|
|
34 |
3. Check that you have the test tool in the CASW directory:
|
|
35 |
X:\CASW_Integrated\casw\telephonyadaptation\nokiatsy\nokiatsy_dll\internal\test\nokiatsy_test_tool
|
|
36 |
4. Run nokiatsy_test_tool_installer.pl in folder (it is located there):
|
|
37 |
X.\CASW_Integrated\casw\telephonyadaptation\nokiatsy\nokiatsy_dll\internal\test\nokiatsy_test_tool\doc
|
|
38 |
|
|
39 |
FUNCTIONALITY:
|
|
40 |
--------------
|
|
41 |
- This is what the installer does when run:
|
|
42 |
|
|
43 |
- Sets all files modifiable in nokiatsy folder and in it's sub folders.
|
|
44 |
- Checks that you have the STIF framework - if not, exits .
|
|
45 |
- Checks that you have the NokiaTSY Test Tool - if not, exits .
|
|
46 |
- Searches certain directories for NokiaTSY installation
|
|
47 |
- Checks that you have the NokiaTSY Test Tool - if not, exits .
|
|
48 |
|
|
49 |
NOKIA TSY
|
|
50 |
- Runs reallyclean and recompiles NokiaTSY
|
|
51 |
|
|
52 |
NOKIA TSY TEST TOOL
|
|
53 |
- Runs reallyclean and recompiles NokiaTSY Test Tool
|
|
54 |
|
|
55 |
NOKIA TSY
|
|
56 |
- Runs the rest of compilation (if test tool hasn't been compiled earlier the NTT_core.lib
|
|
57 |
is missing and will appear after test tool compilation so re-compiling must be done).
|
|
58 |
|
|
59 |
- Executes the modifications to certain files. Here is the current modified file list:
|
|
60 |
../NokiaTSY/group/NokiaTSY.mmp
|
|
61 |
/epoc32/data/epoc.ini
|
|
62 |
../IscIsiMultiplexer/group/IscIsiMultiplexer.mmp
|
|
63 |
../STIFTestFramework/ConsoleUI/src/ConsoleUI.cpp
|
|
64 |
/epoc32/winscw/c/TestFramework/TestFramework.ini
|
|
65 |
|
|
66 |
- Copies and Activates scripts found within test toool.
|
|
67 |
|
|
68 |
TURN ON/OFF:
|
|
69 |
------------
|
|
70 |
- To turn OFF the changes for NokiaTSY Test Tool, comment the following line in ..\NokiaTSY\group\NokiaTSY.mmp:
|
|
71 |
#define INTERNAL_NTSY_TESTTOOL_MOD
|
|
72 |
...and run bldmake bldfiles + abld build
|
|
73 |
- To turn ON the changes for NokiaTSY Test Tool, make sure the following line in ..\NokiaTSY\group\NokiaTSY.mmp is NOT commented:
|
|
74 |
#define INTERNAL_NTSY_TESTTOOL_MOD
|
|
75 |
...and run bldmake bldfiles + abld build
|
|
76 |
|
|
77 |
MODIFICATIONS:
|
|
78 |
--------------
|
|
79 |
|
|
80 |
It should be fairly easy to add basic modifications when needed. It is best to
|
|
81 |
add them to the end of the script for version control(it asks before
|
|
82 |
re-applying each change accoring to its position in the script file(ID)). In
|
|
83 |
the script there is a NEW MOD TASK TEMPLATE, which can be used when creating
|
|
84 |
new modifications. NOTE that the path to the file to be modified is in UNIX
|
|
85 |
format('/' instead of '\'). Below is a simple example, which you can modify
|
|
86 |
and add to the script after ADD MODIFICATIONS HERE:
|
|
87 |
|
|
88 |
##################### ADD NEW MODIFICATIONS HERE ######################
|
|
89 |
|
|
90 |
# THIS IS A TEST MODIFICATION
|
|
91 |
$mod_file{$mod_id} = "/epoc32/data/epoc.ini";
|
|
92 |
$mod_oper{$mod_id} = "addbelow"; #POSSIBLE KEYWORDS: ("afterany"|"replace"|"comment"|"addbelow")
|
|
93 |
$mod_srch{$mod_id} = "configuration epoc_176x208.ini";
|
|
94 |
$mod_text{$mod_id} = "#THIS WAS A TEST CASE FOR NOKIATSY TEST TOOL INSTALLER";
|
|
95 |
$mod_id++;
|
|
96 |
|
|
97 |
##################### END MODIFICATIONS HERE ######################
|