|
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 #define E32TESTS_INCLUDED |
|
19 |
|
20 // The base NAND tests assume ROFS is mounted on J: and the user area on I: |
|
21 // This must be before header.iby |
|
22 |
|
23 #if defined(_NAND2) |
|
24 #define _NANDTEST2 |
|
25 #undef _NAND2 |
|
26 #else |
|
27 #if defined(_NAND) |
|
28 #undef _NAND |
|
29 #endif |
|
30 #define _NANDTEST |
|
31 #endif |
|
32 |
|
33 #include <rom\##VARIANT##\header.iby> |
|
34 #undef MULTIPLEROFS |
|
35 |
|
36 files= |
|
37 |
|
38 #ifdef PAGED_ROM |
|
39 data=gentestpaged.txt Test\test_paged.cpp paging_unmovable |
|
40 #endif |
|
41 |
|
42 #include <rom\##VARIANT##\kernel.iby> |
|
43 #include "user.iby" |
|
44 #include <rom\hal\hal.iby> |
|
45 #include <rom\f32\f32.iby> |
|
46 |
|
47 // tests |
|
48 #include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\group\##MAIN##test.iby> |
|
49 #ifndef VARIANT_PATH |
|
50 #include <rom##E32PATH##\##VARIANT##\test\##MAIN##test.iby> |
|
51 #else |
|
52 #define inc(a,b,c) <a\\b\\c> |
|
53 #include inc(rom##E32PATH##,VARIANT_PATH,\test\##MAIN##test.iby) |
|
54 #endif |
|
55 #include "..\..\..\kerneltest\f32test\loader\gen\ldrtest.iby" |
|
56 data=EPOCROOT##epoc32\release\##MAIN##\##BUILD##\t_ldrtst.exe sys\bin\t_ldrtst.exe |
|
57 |
|
58 |
|
59 data=gentestpaged.txt Test\test_paged1.cpp paging_unmovable |
|
60 |
|
61 // scripts |
|
62 #if !defined(MANUALROM) |
|
63 data=EPOCROOT##epoc32\rom\##VARIANT##\mmctest_test_autoexec_e32test.bat \autoexec.bat |
|
64 #endif |
|
65 data=EPOCROOT##epoc32\rom\##VARIANT##\mmcdemandpaginge32tests.bat \test\mmcdemandpaginge32tests.bat |
|
66 data=EPOCROOT##epoc32\rom\##VARIANT##\mmcdemandpagingf32tests.bat \test\mmcdemandpagingf32tests.bat |
|
67 |
|
68 #ifdef PAGED_ROM |
|
69 #ifdef INST_ARMV5 |
|
70 #include "##BASEPATH##f32test\demandpaging\t_pagestress_rom.iby" |
|
71 #endif |
|
72 #endif |
|
73 |
|
74 #ifdef WITH_COMP |
|
75 #ifdef PAGED_ROM |
|
76 data=gentestnonpaged.txt Test\test_unpaged.cpp unpaged paging_unmovable |
|
77 #endif |
|
78 |
|
79 rofsname = dir.rofs |
|
80 rofssize = 0x500000 |
|
81 |
|
82 #ifdef PAGED_ROM |
|
83 PAGINGOVERRIDE DEFAULTPAGED |
|
84 #endif |
|
85 |
|
86 REM Round the size up/down to the nearest block size |
|
87 REM This will enable any ROFS extensions to be found |
|
88 REM BlockSize is typically 16K for most small-block NAND chips |
|
89 REM BlockSize is typically 128K for most large-block NAND chips |
|
90 #if defined SMALL_BLOCK |
|
91 autosize = 0x4000 |
|
92 #elif defined(LARGE_BLOCK) |
|
93 autosize = 0x20000 |
|
94 #endif |
|
95 #endif //WITH_COMP |
|
96 |
|
97 data=EPOCROOT##epoc32\Release\##MAIN##\##BUILD##\d_exc.exe \sys\bin\d_exc.exe |
|
98 data=EPOCROOT##epoc32\Release\##KMAIN##\##BUILD##\minkda.ldd \sys\bin\minkda.ldd |
|
99 |
|
100 |
|
101 #ifndef WITH_COMP |
|
102 #ifdef PAGED_ROM |
|
103 data=gentestnonpaged.txt Test\test_unpaged.cpp unpaged paging_unmovable |
|
104 #endif |
|
105 #endif |
|
106 |
|
107 // rom.pl will put this in a rofs image |
|
108 #include <rom\rofstest\dir.oby> |
|
109 |