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