--- a/kerneltest/e32test/prime/t_timer.cpp Fri Apr 16 16:24:37 2010 +0300
+++ b/kerneltest/e32test/prime/t_timer.cpp Mon May 03 13:47:38 2010 +0300
@@ -290,16 +290,17 @@
t2.HomeTime();
}
while (t2==t1);
-#if defined(_DEBUG)
- TDateTime dt=t2.DateTime();
- test.Printf(_L("%d:%d\r\n"),dt.Second(),dt.MicroSecond());
-#endif
- test(t2>t1);
+
+ if (t2 <= t1)
+ {
+ test.Printf(_L("Time comparison failed\r\n"));
+ test.Printf(_L("Before: 0x%lx\r\n"), t1.Int64());
+ test.Printf(_L("After: 0x%lx\r\n"), t2.Int64());
+ test(t2>t1);
+ }
+
t1=t2;
}
-#if defined(_DEBUG)
- test.Printf(_L("\r\n"));
-#endif
}
TInt AtTwice(TAny*)