|
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 This oby file is used to build ROM for f32 performance tests automatically. |
|
19 Includes standard F32 tests + specific files for the performance tests. |
|
20 Specific "autoexec.bat" file defines what will be run on startup. |
|
21 |
|
22 These performance tests will be run on the MMC/SD drive. |
|
23 First they will be run on FAT filesystem, then they will be run on ExFAT filesystem |
|
24 See the corresponding "autoexec.bat" file |
|
25 |
|
26 |
|
27 ==================================================================================================*/ |
|
28 |
|
29 //------------ this is a standard F32 tests part --------------------------------------------------- |
|
30 |
|
31 #define BASE_ROM |
|
32 #define E32TESTS_INCLUDED |
|
33 |
|
34 #include <rom\##VARIANT##\header.iby> |
|
35 |
|
36 files= |
|
37 |
|
38 #ifdef PAGED_ROM |
|
39 data=gentestpaged.txt Test\test_paged.cpp |
|
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 // Include e32 and f32 tests |
|
48 |
|
49 #include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\group\##MAIN##test.iby> |
|
50 #ifndef VARIANT_PATH |
|
51 #include <rom##E32PATH##\##VARIANT##\test\##MAIN##test.iby> |
|
52 #else |
|
53 #define inc(a,b,c) <a\\b\\c> |
|
54 #include inc(rom##E32PATH##,VARIANT_PATH,\test\##MAIN##test.iby) |
|
55 #endif |
|
56 |
|
57 #include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\group\##MAIN##test.iby> |
|
58 #include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\rofs\##MAIN##test.iby> |
|
59 |
|
60 #ifdef PAGED_ROM |
|
61 data=gentestnonpaged.txt Test\test_unpaged.cpp unpaged |
|
62 #endif |
|
63 |
|
64 //------------------------------------------------------------------------------------------------- |
|
65 //------------ this is the performance tests specific part ---------------------------------------- |
|
66 //------------------------------------------------------------------------------------------------- |
|
67 |
|
68 |
|
69 //-- this autoexec.bat will run automatically the f32 performance tests |
|
70 data=EPOCROOT##epoc32\rom\f32_perf_test_autoexec_fat_exfat.bat \autoexec.bat |
|
71 |
|
72 data=EPOCROOT##epoc32\rom\##VARIANT##\f32_perf_test.bat Test\f32_perf_test.bat |
|
73 data=EPOCROOT##epoc32\rom\##VARIANT##\fat_perf_test.bat Test\fat_perf_test.bat |
|
74 data=EPOCROOT##epoc32\rom\##VARIANT##\f32_perf_test_5000files.bat Test\f32_perf_test_5000files.bat |
|
75 |
|
76 |
|
77 data=EPOCROOT##epoc32\rom\##VARIANT##\fat_perf_test_dircache_setup.bat Test\fat_perf_test_dircache_setup.bat |
|
78 data=EPOCROOT##epoc32\rom\##VARIANT##\fat_perf_test_dircache_fully_cached_file_creation.bat Test\fat_perf_test_dircache_fully_cached_file_creation.bat |
|
79 data=EPOCROOT##epoc32\rom\##VARIANT##\fat_perf_test_dircache_fully_cached_file_open_linear.bat Test\fat_perf_test_dircache_fully_cached_file_open_linear.bat |
|
80 data=EPOCROOT##epoc32\rom\##VARIANT##\fat_perf_test_dircache_fully_cached_file_open_random.bat Test\fat_perf_test_dircache_fully_cached_file_open_random.bat |
|
81 data=EPOCROOT##epoc32\rom\##VARIANT##\fat_perf_test_dircache_partially_cached_1.7MB_data.bat Test\fat_perf_test_dircache_partially_cached_1.7MB_data.bat |
|
82 data=EPOCROOT##epoc32\rom\##VARIANT##\fat_perf_test_dircache_partially_cached_5.1MB_data.bat Test\fat_perf_test_dircache_partially_cached_5.1MB_data.bat |
|
83 data=EPOCROOT##epoc32\rom\##VARIANT##\fat_perf_test_dircache_partially_cached_6.8MB_data.bat Test\fat_perf_test_dircache_partially_cached_6.8MB_data.bat |
|
84 |
|
85 |
|
86 //------------------------------------------------------------------------------------------------- |
|
87 // this hack allows to force including exfat.fsy into ROM if it is built without "WITH_EXFAT" option. |
|
88 //------------------------------------------------------------------------------------------------- |
|
89 #ifndef WITH_EXFAT |
|
90 file=\Epoc32\Release\##MAIN##\##BUILD##\exfat.fsy sys\bin\exfat.fsy |
|
91 #endif |
|
92 |
|
93 |
|
94 |
|
95 |
|
96 |
|
97 |
|
98 |
|
99 |