Comment out the line with rofs for f32tests.oby and comment out the variant bit to allow to build e32 & f32 tests for kernelhwsrv.
--- a/kernel/eka/rombuild/e32tests.oby Thu Mar 25 14:36:12 2010 +0000
+++ b/kernel/eka/rombuild/e32tests.oby Wed Mar 24 19:34:20 2010 +0000
@@ -28,6 +28,7 @@
// And now the tests
#include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\group\##MAIN##test.iby>
+
#if defined(SYMBIAN_INCLUDE_USB_OTG_HOST)
#include "t_usbdi_helper.iby"
#include "t_otgdi_helper.iby"
@@ -35,10 +36,11 @@
#include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\usbho\t_usbdi\##MAIN##test.iby>
#endif
+/*
#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
-
+*/
--- a/kernel/eka/rombuild/f32tests.oby Thu Mar 25 14:36:12 2010 +0000
+++ b/kernel/eka/rombuild/f32tests.oby Wed Mar 24 19:34:20 2010 +0000
@@ -33,15 +33,17 @@
// Include e32 and f32 tests
#include <rom##E32PATH##\kernelhwsrv\kerneltest\e32test\group\##MAIN##test.iby>
+/*
#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 <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\group\##MAIN##test.iby>
-#include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\rofs\##MAIN##test.iby>
+//#include <rom##E32PATH##\kernelhwsrv\kerneltest\f32test\rofs\##MAIN##test.iby>
// Required for t_pageldrtst
data=EPOCROOT##Epoc32\Release\##MAIN##\##BUILD##\d_exc.exe \sys\bin\d_exc.exe