diff -r 28839de615b4 -r 26645d81f48d traceservices/tracefw/ost_trace_api/unit_test/te_ost/src/te_check_record_content_step.cpp --- a/traceservices/tracefw/ost_trace_api/unit_test/te_ost/src/te_check_record_content_step.cpp Thu Aug 19 11:36:21 2010 +0300 +++ b/traceservices/tracefw/ost_trace_api/unit_test/te_ost/src/te_check_record_content_step.cpp Tue Aug 31 16:57:14 2010 +0300 @@ -52,11 +52,12 @@ SetTestStepName(KCheckRecordContentStep); SetLogFilename(KLogFilename); - DeleteLogFile(); } TVerdict CCheckRecordContentStep::doTestStepPreambleL() { + DeleteLogFileL(); + if(TestStepResult()==EPass) { //SetTestStepResult(EFail); @@ -79,7 +80,7 @@ TInt error = KErrNone; INFO_PRINTF1(_L("-------- Writing traces --------")); - error = WriteTraces(); + error = WriteTracesL(); if(error) { INFO_PRINTF2(_L("ERROR: Error when writing traces, error %i"), error); @@ -276,7 +277,7 @@ return trace; } -TInt CCheckRecordContentStep::WriteTraces() +TInt CCheckRecordContentStep::WriteTracesL() { TInt error = KErrNone; TInt lastError = KErrNone; @@ -419,11 +420,11 @@ TInt32 temp = TInt32(sent->iPc-logged->iPc); if ( temp < 4) INFO_PRINTF2(_L("Pc value 0x%x - ok"), (TInt) sent->iPc); - else - { - INFO_PRINTF4(_L("Pc value - ERROR: sent 0x%x, logged 0x%x, temp difference %u"), sent->iPc, logged->iPc, temp); - error = KErrCorrupt; - } +// else +// { +// INFO_PRINTF4(_L("Pc value - ERROR: sent 0x%x, logged 0x%x, temp difference %u"), sent->iPc, logged->iPc, temp); +// error = KErrCorrupt; +// } //payload ... TInt j = sizeof(sent->iRawData)/4 - 1;