1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/kernel/eka/rombuild/f32_perf_tests_fat_exfat.oby Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,99 @@
1.4 +/*
1.5 +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of the License "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description:
1.18 +*
1.19 +*/
1.20 +/*==================================================================================================
1.21 + This oby file is used to build ROM for f32 performance tests automatically.
1.22 + Includes standard F32 tests + specific files for the performance tests.
1.23 + Specific "autoexec.bat" file defines what will be run on startup.
1.24 +
1.25 + These performance tests will be run on the MMC/SD drive.
1.26 + First they will be run on FAT filesystem, then they will be run on ExFAT filesystem
1.27 + See the corresponding "autoexec.bat" file
1.28 +
1.29 +
1.30 +==================================================================================================*/
1.31 +
1.32 +//------------ this is a standard F32 tests part ---------------------------------------------------
1.33 +
1.34 +#define BASE_ROM
1.35 +#define E32TESTS_INCLUDED
1.36 +
1.37 +#include <rom\##VARIANT##\header.iby>
1.38 +
1.39 +files=
1.40 +
1.41 +#ifdef PAGED_ROM
1.42 +data=gentestpaged.txt Test\test_paged.cpp
1.43 +#endif
1.44 +
1.45 +#include <rom\##VARIANT##\kernel.iby>
1.46 +#include "user.iby"
1.47 +#include <rom\hal\hal.iby>
1.48 +#include <rom\f32\f32.iby>
1.49 +
1.50 +// Include e32 and f32 tests
1.51 +
1.52 +#include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\group\##MAIN##test.iby>
1.53 +#ifndef VARIANT_PATH
1.54 +#include <rom##E32PATH##\##VARIANT##\test\##MAIN##test.iby>
1.55 +#else
1.56 +#define inc(a,b,c) <a\\b\\c>
1.57 +#include inc(rom##E32PATH##,VARIANT_PATH,\test\##MAIN##test.iby)
1.58 +#endif
1.59 +
1.60 +#include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\group\##MAIN##test.iby>
1.61 +#include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\rofs\##MAIN##test.iby>
1.62 +
1.63 +#ifdef PAGED_ROM
1.64 +data=gentestnonpaged.txt Test\test_unpaged.cpp unpaged
1.65 +#endif
1.66 +
1.67 +//-------------------------------------------------------------------------------------------------
1.68 +//------------ this is the performance tests specific part ----------------------------------------
1.69 +//-------------------------------------------------------------------------------------------------
1.70 +
1.71 +
1.72 +//-- this autoexec.bat will run automatically the f32 performance tests
1.73 +data=EPOCROOT##epoc32\rom\f32_perf_test_autoexec_fat_exfat.bat \autoexec.bat
1.74 +
1.75 +data=EPOCROOT##epoc32\rom\##VARIANT##\f32_perf_test.bat Test\f32_perf_test.bat
1.76 +data=EPOCROOT##epoc32\rom\##VARIANT##\fat_perf_test.bat Test\fat_perf_test.bat
1.77 +data=EPOCROOT##epoc32\rom\##VARIANT##\f32_perf_test_5000files.bat Test\f32_perf_test_5000files.bat
1.78 +
1.79 +
1.80 +data=EPOCROOT##epoc32\rom\##VARIANT##\fat_perf_test_dircache_setup.bat Test\fat_perf_test_dircache_setup.bat
1.81 +data=EPOCROOT##epoc32\rom\##VARIANT##\fat_perf_test_dircache_fully_cached_file_creation.bat Test\fat_perf_test_dircache_fully_cached_file_creation.bat
1.82 +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
1.83 +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
1.84 +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
1.85 +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
1.86 +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
1.87 +
1.88 +
1.89 +//-------------------------------------------------------------------------------------------------
1.90 +// this hack allows to force including exfat.fsy into ROM if it is built without "WITH_EXFAT" option.
1.91 +//-------------------------------------------------------------------------------------------------
1.92 +#ifndef WITH_EXFAT
1.93 +file=\Epoc32\Release\##MAIN##\##BUILD##\exfat.fsy sys\bin\exfat.fsy
1.94 +#endif
1.95 +
1.96 +
1.97 +
1.98 +
1.99 +
1.100 +
1.101 +
1.102 +