os/kernelhwsrv/kernel/eka/rombuild/mmctest_test_f32tests.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.
     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 #if defined(SYMBIAN_INCLUDE_USB_OTG_HOST) && defined(WITH_MASS_STORAGE)
    59 #include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\shostmassstorage\##MAIN##test.iby>
    60 #endif
    61 
    62 data=gentestpaged.txt			Test\test_paged1.cpp paging_unmovable
    63 
    64 // scripts
    65 #if !defined(MANUALROM)
    66 data=EPOCROOT##epoc32\rom\##VARIANT##\mmctest_test_autoexec_f32test.bat			\autoexec.bat
    67 #endif
    68 data=EPOCROOT##epoc32\rom\##VARIANT##\mmcdemandpaginge32tests.bat		\test\mmcdemandpaginge32tests.bat
    69 data=EPOCROOT##epoc32\rom\##VARIANT##\mmcdemandpagingf32tests.bat		\test\mmcdemandpagingf32tests.bat
    70 
    71 #ifdef PAGED_ROM
    72 #ifdef INST_ARMV5
    73 #include "##BASEPATH##f32test\demandpaging\t_pagestress_rom.iby"
    74 #endif
    75 #endif
    76 
    77 #ifdef WITH_COMP
    78 #ifdef PAGED_ROM
    79 data=gentestnonpaged.txt			Test\test_unpaged.cpp	unpaged paging_unmovable
    80 #endif
    81 
    82 rofsname = dir.rofs
    83 rofssize = 0x500000
    84 
    85 #ifdef PAGED_ROM
    86 PAGINGOVERRIDE DEFAULTPAGED
    87 #endif
    88 
    89 REM Round the size up/down to the nearest block size
    90 REM This will enable any ROFS extensions to be found
    91 REM BlockSize is typically 16K for most small-block NAND chips
    92 REM BlockSize is typically 128K for most large-block NAND chips
    93 #if defined SMALL_BLOCK
    94 autosize = 0x4000
    95 #elif defined(LARGE_BLOCK)
    96 autosize = 0x20000
    97 #endif
    98 #endif  //WITH_COMP
    99 
   100 #include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\group\##MAIN##test.iby>
   101 #include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\rofs\##MAIN##test.iby>
   102 
   103 data=EPOCROOT##epoc32\Release\##MAIN##\##BUILD##\d_exc.exe			\sys\bin\d_exc.exe
   104 data=EPOCROOT##epoc32\Release\##KMAIN##\##BUILD##\minkda.ldd			\sys\bin\minkda.ldd
   105 
   106 
   107 #ifndef WITH_COMP
   108 #ifdef PAGED_ROM
   109 data=gentestnonpaged.txt			Test\test_unpaged.cpp	unpaged paging_unmovable
   110 #endif
   111 #endif
   112 
   113 // rom.pl will put this in a rofs image
   114 #include <rom\rofstest\dir.oby>
   115