kernel/eka/rombuild/mmctest_test.oby
changeset 0 a41df078684a
child 43 c1f20ce4abcf
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     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 
       
    21 #undef _NANDTEST2
       
    22 #undef _NAND2
       
    23 #undef _NAND
       
    24 #undef _NANDTEST
       
    25 
       
    26 #define _INTERNAL_MMC
       
    27 
       
    28 
       
    29 #include <rom\##VARIANT##\header.iby>
       
    30 
       
    31 files=
       
    32 
       
    33 #ifdef PAGED_ROM
       
    34 data=gentestpaged.txt			Test\test_paged.cpp paging_unmovable
       
    35 #endif
       
    36 
       
    37 #include <rom\##VARIANT##\kernel.iby>
       
    38 #include "user.iby"
       
    39 #include <rom\hal\hal.iby>
       
    40 #include <rom\f32\f32.iby>
       
    41 
       
    42 #ifndef EXCLUDE_TESTS
       
    43 
       
    44 // tests
       
    45 #include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\group\##MAIN##test.iby>
       
    46 #if defined(SYMBIAN_INCLUDE_USB_OTG_HOST)
       
    47 #include "t_usbdi_helper.iby"
       
    48 #include "t_otgdi_helper.iby"
       
    49 #include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\usbho\t_otgdi\##MAIN##test.iby>
       
    50 #include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\usbho\t_usbdi\##MAIN##test.iby>
       
    51 #endif
       
    52 
       
    53 #ifndef VARIANT_PATH
       
    54 #include <rom##E32PATH##\##VARIANT##\test\##MAIN##test.iby>
       
    55 #else
       
    56 #define inc(a,b,c) <a\\b\\c>
       
    57 #include inc(rom##E32PATH##,VARIANT_PATH,\test\##MAIN##test.iby)
       
    58 #endif
       
    59 
       
    60 #include "..\..\..\kerneltest\f32test\loader\gen\ldrtest.iby"
       
    61 data=EPOCROOT##epoc32\release\##MAIN##\##BUILD##\t_ldrtst.exe			sys\bin\t_ldrtst.exe
       
    62 
       
    63 #endif // #ifndef EXCLUDE_TESTS
       
    64 
       
    65 data=gentestpaged.txt			Test\test_paged1.cpp paging_unmovable
       
    66 
       
    67 // scripts
       
    68 #if !defined(MANUALROM)
       
    69 
       
    70 #if defined(RAMSTRESS)
       
    71 data=ramstress_autoexec.bat	\autoexec.bat
       
    72 #define RAMSTRESS_SUFFFIX	_ramstress
       
    73 #else
       
    74 #define RAMSTRESS_SUFFFIX	
       
    75 #endif
       
    76 
       
    77 #ifdef PAGED_DATA		// run all tests if data paging enabled
       
    78 data=EPOCROOT##epoc32\rom\##VARIANT##\mmctest_test_autoexec.bat			\autoexec##RAMSTRESS_SUFFFIX##.bat
       
    79 #else					// otherwise only run a subset of the tests
       
    80 data=EPOCROOT##epoc32\rom\##VARIANT##\mmcdemandpaging_test_autoexec.bat	\autoexec.bat
       
    81 #endif
       
    82 
       
    83 #endif	// #if !defined(MANUALROM)
       
    84 
       
    85 data=EPOCROOT##epoc32\rom\##VARIANT##\mmcdemandpaginge32tests.bat		\test\mmcdemandpaginge32tests.bat
       
    86 data=EPOCROOT##epoc32\rom\##VARIANT##\mmcdemandpagingf32tests.bat		\test\mmcdemandpagingf32tests.bat
       
    87 
       
    88 #ifndef EXCLUDE_TESTS
       
    89 #ifdef PAGED_ROM
       
    90 #ifdef INST_ARMV5
       
    91 #include "..\..\..\kerneltest\f32test\demandpaging\t_pagestress_rom.iby"
       
    92 #endif
       
    93 #endif
       
    94 #endif // #ifndef EXCLUDE_TESTS
       
    95 
       
    96 #ifdef WITH_COMP
       
    97 #ifdef PAGED_ROM
       
    98 data=gentestnonpaged.txt			Test\test_unpaged.cpp	unpaged paging_unmovable
       
    99 #endif
       
   100 
       
   101 #ifdef MULTIPLEROFS
       
   102 rofsname = tests.rofs
       
   103 #else
       
   104 rofsname = dir.rofs
       
   105 #endif	//MULTIPLEROFS
       
   106 
       
   107 rofssize = 0x700000
       
   108 autosize = 0x4000
       
   109 
       
   110 #ifdef PAGED_ROM
       
   111 PAGINGOVERRIDE DEFAULTPAGED
       
   112 #endif
       
   113 
       
   114 #endif  //WITH_COMP
       
   115 
       
   116 #ifndef EXCLUDE_TESTS
       
   117 
       
   118 #include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\group\##MAIN##test.iby>
       
   119 #include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\rofs\##MAIN##test.iby>
       
   120 
       
   121 #endif // #ifndef EXCLUDE_TESTS
       
   122 
       
   123 data=EPOCROOT##epoc32\Release\##MAIN##\##BUILD##\d_exc.exe			\sys\bin\d_exc.exe
       
   124 data=EPOCROOT##epoc32\Release\##KMAIN##\##BUILD##\minkda.ldd			\sys\bin\minkda.ldd
       
   125 
       
   126 
       
   127 #ifndef WITH_COMP
       
   128 #ifdef PAGED_ROM
       
   129 data=gentestnonpaged.txt			Test\test_unpaged.cpp	unpaged paging_unmovable
       
   130 #endif
       
   131 #endif
       
   132 
       
   133 // rom.pl will put this in a rofs image
       
   134 #include <rom\rofstest\dir.oby>
       
   135 
       
   136 // rom.pl will put this in a rofs extension image
       
   137 #include <rom\rofstest\extension.oby>
       
   138 
       
   139 #ifdef MULTIPLEROFS
       
   140 // rom.pl will put this in a rofs image
       
   141 #include <rom\rofstest\rofs1.oby>
       
   142 
       
   143 // rom.pl will put this in a rofs image
       
   144 #include <rom\rofstest\rofs2.oby>
       
   145 
       
   146 // rom.pl will put this in a rofs image
       
   147 #include <rom\rofstest\rofs3.oby>
       
   148 #endif // MULTIPLEROFS