os/kernelhwsrv/kernel/eka/rombuild/f32_perf_tests_fat_exfat.oby
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
/*
sl@0
     2
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     3
* All rights reserved.
sl@0
     4
* This component and the accompanying materials are made available
sl@0
     5
* under the terms of the License "Eclipse Public License v1.0"
sl@0
     6
* which accompanies this distribution, and is available
sl@0
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     8
*
sl@0
     9
* Initial Contributors:
sl@0
    10
* Nokia Corporation - initial contribution.
sl@0
    11
*
sl@0
    12
* Contributors:
sl@0
    13
*
sl@0
    14
* Description:
sl@0
    15
*
sl@0
    16
*/
sl@0
    17
/*==================================================================================================
sl@0
    18
    This oby file is used to build ROM for f32 performance tests automatically. 
sl@0
    19
    Includes standard F32 tests + specific files for the performance tests. 
sl@0
    20
    Specific "autoexec.bat" file defines what will be run on startup.
sl@0
    21
        
sl@0
    22
    These performance tests will be run on the MMC/SD drive.
sl@0
    23
    First they will be run on FAT filesystem, then they will be run on ExFAT filesystem
sl@0
    24
    See the corresponding "autoexec.bat" file   
sl@0
    25
sl@0
    26
sl@0
    27
==================================================================================================*/
sl@0
    28
sl@0
    29
//------------ this is a standard F32 tests part ---------------------------------------------------
sl@0
    30
sl@0
    31
#define BASE_ROM
sl@0
    32
#define E32TESTS_INCLUDED
sl@0
    33
sl@0
    34
#include <rom\##VARIANT##\header.iby>
sl@0
    35
sl@0
    36
files=
sl@0
    37
sl@0
    38
#ifdef PAGED_ROM
sl@0
    39
data=gentestpaged.txt           Test\test_paged.cpp
sl@0
    40
#endif
sl@0
    41
sl@0
    42
#include <rom\##VARIANT##\kernel.iby>
sl@0
    43
#include "user.iby"
sl@0
    44
#include <rom\hal\hal.iby>
sl@0
    45
#include <rom\f32\f32.iby>
sl@0
    46
sl@0
    47
// Include e32 and f32 tests
sl@0
    48
sl@0
    49
#include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\group\##MAIN##test.iby>
sl@0
    50
#ifndef VARIANT_PATH
sl@0
    51
#include <rom##E32PATH##\##VARIANT##\test\##MAIN##test.iby>
sl@0
    52
#else
sl@0
    53
#define inc(a,b,c) <a\\b\\c>
sl@0
    54
#include inc(rom##E32PATH##,VARIANT_PATH,\test\##MAIN##test.iby)
sl@0
    55
#endif
sl@0
    56
sl@0
    57
#include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\group\##MAIN##test.iby>
sl@0
    58
#include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\rofs\##MAIN##test.iby>
sl@0
    59
sl@0
    60
#ifdef PAGED_ROM
sl@0
    61
data=gentestnonpaged.txt            Test\test_unpaged.cpp   unpaged
sl@0
    62
#endif
sl@0
    63
sl@0
    64
//-------------------------------------------------------------------------------------------------
sl@0
    65
//------------ this is the performance tests specific part ----------------------------------------
sl@0
    66
//-------------------------------------------------------------------------------------------------
sl@0
    67
sl@0
    68
sl@0
    69
//-- this autoexec.bat will run automatically the f32 performance tests
sl@0
    70
data=EPOCROOT##epoc32\rom\f32_perf_test_autoexec_fat_exfat.bat \autoexec.bat
sl@0
    71
sl@0
    72
data=EPOCROOT##epoc32\rom\##VARIANT##\f32_perf_test.bat             Test\f32_perf_test.bat
sl@0
    73
data=EPOCROOT##epoc32\rom\##VARIANT##\fat_perf_test.bat             Test\fat_perf_test.bat
sl@0
    74
data=EPOCROOT##epoc32\rom\##VARIANT##\f32_perf_test_5000files.bat   Test\f32_perf_test_5000files.bat
sl@0
    75
sl@0
    76
sl@0
    77
data=EPOCROOT##epoc32\rom\##VARIANT##\fat_perf_test_dircache_setup.bat Test\fat_perf_test_dircache_setup.bat
sl@0
    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
sl@0
    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
sl@0
    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
sl@0
    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
sl@0
    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
sl@0
    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
sl@0
    84
sl@0
    85
sl@0
    86
//-------------------------------------------------------------------------------------------------
sl@0
    87
// this hack allows to force including exfat.fsy into ROM if it is built without "WITH_EXFAT" option.
sl@0
    88
//-------------------------------------------------------------------------------------------------
sl@0
    89
#ifndef WITH_EXFAT
sl@0
    90
file=\Epoc32\Release\##MAIN##\##BUILD##\exfat.fsy       sys\bin\exfat.fsy
sl@0
    91
#endif
sl@0
    92
sl@0
    93
sl@0
    94
sl@0
    95
sl@0
    96
sl@0
    97
sl@0
    98
sl@0
    99