diff -r 8dc8494f1e0e -r 839ea9debada loggingservices/eventlogger/test/src/t_logcntmatch.cpp --- a/loggingservices/eventlogger/test/src/t_logcntmatch.cpp Wed Sep 15 14:05:58 2010 +0300 +++ b/loggingservices/eventlogger/test/src/t_logcntmatch.cpp Wed Oct 13 16:30:44 2010 +0300 @@ -18,6 +18,8 @@ RTest TheTest(_L("t_logcntmatch")); +#ifdef SYSLIBS_TEST + TBool TheMatchingIsEnabled = EFalse; //TheContactNameFmt variable must be initialized before tests. //It gives an information what is the contact name format in the logs. @@ -318,3 +320,12 @@ CleanupStack::PopAndDestroy(client); } + +#else //SYSLIBS_TEST + +void doTestsL() + { + TheTest.Start(_L("This test can be run only when built with SYSLIBS_TEST macro defined!")); + } + +#endif //SYSLIBS_TEST