|
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 #define BASE_ROM |
|
18 |
|
19 // The base NAND tests assume ROFS is mounted on J: and the user area on I: |
|
20 // This must be before header.iby |
|
21 |
|
22 #if defined(_NAND2) |
|
23 #define _NANDTEST2 |
|
24 #undef _NAND2 |
|
25 #else |
|
26 #if defined(_NAND) |
|
27 #undef _NAND |
|
28 #endif |
|
29 #define _NANDTEST |
|
30 #endif |
|
31 |
|
32 #include <rom\##VARIANT##\header.iby> |
|
33 |
|
34 files= |
|
35 |
|
36 #ifdef PAGED_ROM |
|
37 data=gentestpaged.txt Test\test_paged.cpp paging_unmovable |
|
38 #endif |
|
39 |
|
40 #include <rom\##VARIANT##\kernel.iby> |
|
41 #include "user.iby" |
|
42 #include <rom\hal\hal.iby> |
|
43 #include <rom\f32\f32.iby> |
|
44 |
|
45 // (e32)tests |
|
46 // #include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\group\##MAIN##test.iby> |
|
47 data=EPOCROOT##epoc32\release\##KMAIN##\##BUILD##\d_pagestress.ldd sys\bin\d_pagestress.ldd attrib=r |
|
48 data=EPOCROOT##epoc32\release\##KMAIN##\##BUILD##\d_ramstress.ldd sys\bin\d_ramstress.ldd attrib=r |
|
49 data=EPOCROOT##epoc32\data\z\test\UnicodeData.txt test\UnicodeData.txt |
|
50 file=\epoc32\release\##MAIN##\##BUILD##\t_loclus.dll sys\bin\T_LOCLUS.DLL |
|
51 data=\epoc32\release\##MAIN##\##BUILD##\t_loclus.dll sys\bin\T_LOCLUS_RAM.DLL attrib=r |
|
52 file=\epoc32\release\##MAIN##\##BUILD##\T_LOCLUS1.DLL sys\bin\T_LOCLUS1.DLL |
|
53 file=\epoc32\release\##MAIN##\##BUILD##\T_LOCLUS2.DLL sys\bin\T_LOCLUS2.DLL |
|
54 file=\epoc32\release\##MAIN##\##BUILD##\T_LOCLGE.DLL sys\bin\T_LOCLGE.DLL |
|
55 file=\epoc32\release\##MAIN##\##BUILD##\setcap.exe sys\bin\setcap.exe |
|
56 |
|
57 #ifndef VARIANT_PATH |
|
58 #include <rom##E32PATH##\##VARIANT##\test\##MAIN##test.iby> |
|
59 #else |
|
60 #define inc(a,b,c) <a\\b\\c> |
|
61 #include inc(rom##E32PATH##,VARIANT_PATH,\test\##MAIN##test.iby) |
|
62 #endif |
|
63 #include "..\..\..\kerneltest\f32test\loader\gen\ldrtest.iby" |
|
64 data=EPOCROOT##epoc32\release\##MAIN##\##BUILD##\t_ldrtst.exe sys\bin\t_ldrtst.exe |
|
65 |
|
66 #if defined(SYMBIAN_INCLUDE_USB_OTG_HOST) && defined(WITH_MASS_STORAGE) |
|
67 #include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\shostmassstorage\##MAIN##test.iby> |
|
68 #endif |
|
69 |
|
70 #ifdef PAGED_ROM |
|
71 data=gentestpaged.txt Test\test_paged1.cpp paging_unmovable |
|
72 #endif |
|
73 |
|
74 // scripts |
|
75 #if !defined(MANUALROM) |
|
76 #if defined(RAMSTRESS) |
|
77 data=ramstress_autoexec.bat \autoexec.bat |
|
78 #define RAMSTRESS_SUFFFIX _ramstress |
|
79 #else |
|
80 #define RAMSTRESS_SUFFFIX |
|
81 #endif |
|
82 #if defined(LMNAND2) |
|
83 data=EPOCROOT##epoc32\rom\LMNAND2\nandtest_test_autoexec_f32test.bat \autoexec##RAMSTRESS_SUFFFIX##.bat |
|
84 #else |
|
85 data=EPOCROOT##epoc32\rom\##VARIANT##\nandtest_test_autoexec_f32test.bat \autoexec##RAMSTRESS_SUFFFIX##.bat |
|
86 #endif |
|
87 #endif |
|
88 |
|
89 #ifdef INST_ARMV5 |
|
90 #include "##BASEPATH##kernelhwsrv\kerneltest\f32test\demandpaging\t_pagestress_rom.iby" |
|
91 #endif |
|
92 |
|
93 #ifdef WITH_COMP |
|
94 #ifdef PAGED_ROM |
|
95 data=gentestnonpaged.txt Test\test_unpaged.cpp unpaged paging_unmovable |
|
96 #endif |
|
97 |
|
98 #ifdef MULTIPLEROFS |
|
99 rofsname = tests.rofs |
|
100 #else |
|
101 rofsname = dir.rofs |
|
102 #endif //MULTIPLEROFS |
|
103 rofssize = 0x500000 |
|
104 |
|
105 #ifdef PAGED_ROM |
|
106 PAGINGOVERRIDE DEFAULTPAGED |
|
107 #endif |
|
108 |
|
109 time = 23/11/2001 6:44:07 |
|
110 |
|
111 REM Round the size up/down to the nearest block size |
|
112 REM This will enable any ROFS extensions to be found |
|
113 REM BlockSize is typically 16K for most small-block NAND chips |
|
114 REM BlockSize is typically 128K for most large-block NAND chips |
|
115 #if defined SMALL_BLOCK |
|
116 autosize = 0x4000 |
|
117 #elif defined(LARGE_BLOCK) |
|
118 autosize = 0x20000 |
|
119 #endif |
|
120 #endif //WITH_COMP |
|
121 |
|
122 // f32tests |
|
123 #include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\group\##MAIN##test.iby> |
|
124 #include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\rofs\##MAIN##test.iby> |
|
125 |
|
126 data=EPOCROOT##Epoc32\Release\##MAIN##\##BUILD##\d_exc.exe \sys\bin\d_exc.exe |
|
127 data=EPOCROOT##Epoc32\Release\##KMAIN##\##BUILD##\minkda.ldd \sys\bin\minkda.ldd |
|
128 |
|
129 |
|
130 #ifndef WITH_COMP |
|
131 #ifdef PAGED_ROM |
|
132 data=gentestnonpaged.txt Test\test_unpaged.cpp unpaged paging_unmovable |
|
133 #endif |
|
134 #endif |
|
135 |
|
136 // rom.pl will put this in a rofs image |
|
137 #include <rom\rofstest\dir.oby> |
|
138 |
|
139 // rom.pl will put this in a rofs extension image |
|
140 #include <rom\rofstest\extension.oby> |
|
141 |
|
142 #ifdef MULTIPLEROFS |
|
143 // rom.pl will put this in a rofs image |
|
144 #include <rom\rofstest\rofs1.oby> |
|
145 |
|
146 // rom.pl will put this in a rofs image |
|
147 #include <rom\rofstest\rofs2.oby> |
|
148 |
|
149 // rom.pl will put this in a rofs image |
|
150 #include <rom\rofstest\rofs3.oby> |
|
151 #endif // MULTIPLEROFS |