diff -r 947f0dc9f7a8 -r 6e99f362aa46 kerneltest/e32test/dma/t_dma.cpp --- a/kerneltest/e32test/dma/t_dma.cpp Fri Apr 16 16:24:37 2010 +0300 +++ b/kerneltest/e32test/dma/t_dma.cpp Fri Apr 23 21:54:44 2010 +0100 @@ -348,7 +348,7 @@ TBuf<16> name; name = _L("TESTER-"); name.AppendNum(aIdx); - test(iThread.Create(name, ThreadFunction, 0x1000, NULL, this) == KErrNone); + test(iThread.Create(name, ThreadFunction, 0x2000, NULL, this) == KErrNone); iThread.SetPriority(EPriorityLess); iThread.Logon(iStatus); SetActive(); @@ -466,28 +466,27 @@ do { fragSize -= step; - // make sure size is aligned + + // Make sure size is aligned fragSize = fragSize & ~Info.iMemAlignMask; + if(fragSize == 0) + break; r = OpenChannel(iMaxFragCount, fragSize); test_KErrNone(r); for(iFragCount=1; iFragCount <= iMaxFragCount; iFragCount++) { - test.Printf(_L("Fragment size %d bytes, %d fragments\nIter: "), fragSize, iFragCount); + test.Printf(_L("Chan %d Fragment size %d bytes, %d fragments, %d iters\n"), iChannelId, fragSize, iFragCount, iInnerIterations); for(TInt i=0; i 0); iTimer.Close(); @@ -527,7 +526,7 @@ User::WaitForRequest(rs, timerStatus); if(rs.Int() == KRequestPending) { - RDebug::Print(_L("Transfer timed out!")); + RDebug::Printf("Chan %d: Transfer timed out!", iChannelId); // timed out test(EFalse); } @@ -1188,9 +1187,9 @@ // intended to find errors in PSL implmentations const TInt iterPerFragSize = 1; #else - const TInt iterPerFragSize = 30; + const TInt iterPerFragSize = 10; #endif - const TInt rangeMaxFragCount = 8; + const TInt rangeMaxFragCount = 5; test.Next(_L("sb")); RunSbTest(maxchannel, new CFragSizeRange(1, rangeMaxFragCount, rangeFragSize, iterPerFragSize));