kernel/eka/rombuild/nandtest_test_f32tests.oby
author hgs
Mon, 27 Sep 2010 10:52:00 +0100
changeset 273 6a75fa55495f
parent 175 5af6c74cd793
permissions -rw-r--r--
201037_09

/*
* Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/
#define BASE_ROM

// The base NAND tests assume ROFS is mounted on J: and the user area on I:
// This must be before header.iby

#if defined(_NAND2)
#define _NANDTEST2
#undef _NAND2
#else
#if defined(_NAND)
#undef _NAND
#endif
#define _NANDTEST
#endif

#include <rom\##VARIANT##\header.iby>

files=

#ifdef PAGED_ROM
data=gentestpaged.txt			Test\test_paged.cpp paging_unmovable
#endif

#include <rom\##VARIANT##\kernel.iby>
#include "user.iby"
#include <rom\hal\hal.iby>
#include <rom\f32\f32.iby>

// (e32)tests
// #include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\group\##MAIN##test.iby>
data=EPOCROOT##epoc32\release\##KMAIN##\##BUILD##\d_pagestress.ldd		sys\bin\d_pagestress.ldd attrib=r
data=EPOCROOT##epoc32\release\##KMAIN##\##BUILD##\d_ramstress.ldd		sys\bin\d_ramstress.ldd attrib=r
data=EPOCROOT##epoc32\data\z\test\UnicodeData.txt				test\UnicodeData.txt
file=\epoc32\release\##MAIN##\##BUILD##\t_loclus.dll        			sys\bin\T_LOCLUS.DLL 
data=\epoc32\release\##MAIN##\##BUILD##\t_loclus.dll  				sys\bin\T_LOCLUS_RAM.DLL attrib=r
file=\epoc32\release\##MAIN##\##BUILD##\T_LOCLUS1.DLL       			sys\bin\T_LOCLUS1.DLL 
file=\epoc32\release\##MAIN##\##BUILD##\T_LOCLUS2.DLL      			sys\bin\T_LOCLUS2.DLL
file=\epoc32\release\##MAIN##\##BUILD##\T_LOCLGE.DLL       			sys\bin\T_LOCLGE.DLL
file=\epoc32\release\##MAIN##\##BUILD##\setcap.exe    				sys\bin\setcap.exe

#ifndef VARIANT_PATH
#include <rom##E32PATH##\##VARIANT##\test\##MAIN##test.iby>
#else
#define inc(a,b,c) <a\\b\\c>
#include inc(rom##E32PATH##,VARIANT_PATH,\test\##MAIN##test.iby)
#endif
#include "..\..\..\kerneltest\f32test\loader\gen\ldrtest.iby"
data=EPOCROOT##epoc32\release\##MAIN##\##BUILD##\t_ldrtst.exe			sys\bin\t_ldrtst.exe

#if defined(SYMBIAN_INCLUDE_USB_OTG_HOST) && defined(WITH_MASS_STORAGE)
#include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\shostmassstorage\##MAIN##test.iby>
#endif

#ifdef PAGED_ROM
data=gentestpaged.txt			Test\test_paged1.cpp paging_unmovable
#endif

// scripts
#if !defined(MANUALROM)
#if defined(RAMSTRESS)
data=##BASEPATH##kernelhwsrv\kernel\eka\rombuild\ramstress_autoexec.bat			\autoexec.bat
#define RAMSTRESS_SUFFFIX	_ramstress
#else
#define RAMSTRESS_SUFFFIX	
#endif
#if defined(LMNAND2)
data=EPOCROOT##epoc32\rom\LMNAND2\nandtest_test_autoexec_f32test.bat			\autoexec##RAMSTRESS_SUFFFIX##.bat
#else
data=EPOCROOT##epoc32\rom\##VARIANT##\nandtest_test_autoexec_f32test.bat			\autoexec##RAMSTRESS_SUFFFIX##.bat
#endif
#endif

#ifdef INST_ARMV5
#include "##BASEPATH##kernelhwsrv\kerneltest\f32test\demandpaging\t_pagestress_rom.iby"
#endif

#ifdef WITH_COMP
#ifdef PAGED_ROM
data=gentestnonpaged.txt			Test\test_unpaged.cpp	unpaged paging_unmovable
#endif

#ifdef MULTIPLEROFS
rofsname = tests.rofs
#else
rofsname = dir.rofs
#endif	//MULTIPLEROFS
rofssize = 0x5E0000

#ifdef PAGED_ROM
PAGINGOVERRIDE DEFAULTPAGED
#endif

time = 23/11/2001 6:44:07

REM Round the size up/down to the nearest block size
REM This will enable any ROFS extensions to be found
REM BlockSize is typically 16K for most small-block NAND chips
REM BlockSize is typically 128K for most large-block NAND chips
#if defined SMALL_BLOCK
autosize = 0x4000
#elif defined(LARGE_BLOCK)
autosize = 0x20000
#endif
#endif  //WITH_COMP

// f32tests 
#include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\group\##MAIN##test.iby>
#include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\rofs\##MAIN##test.iby>

data=EPOCROOT##Epoc32\Release\##MAIN##\##BUILD##\d_exc.exe			\sys\bin\d_exc.exe
data=EPOCROOT##Epoc32\Release\##KMAIN##\##BUILD##\minkda.ldd			\sys\bin\minkda.ldd


#ifndef WITH_COMP
#ifdef PAGED_ROM
data=gentestnonpaged.txt			Test\test_unpaged.cpp	unpaged paging_unmovable
#endif
#endif

// rom.pl will put this in a rofs image
#include <rom\rofstest\dir.oby>

// rom.pl will put this in a rofs extension image
#include <rom\rofstest\extension.oby>

// rom.pl will put this in a SMR partition image
#include <rom\include\smr1.oby>

#ifdef MULTIPLEROFS
// rom.pl will put this in a rofs image
#include <rom\rofstest\rofs1.oby>

// rom.pl will put this in a rofs image
#include <rom\rofstest\rofs2.oby>

// rom.pl will put this in a rofs image
#include <rom\rofstest\rofs3.oby>
#endif // MULTIPLEROFS