MantisBT - CMake
View Issue Details
0009910CMakeCTestpublic2009-11-17 13:382010-12-14 18:49
François Bertel 
Zach Mullen 
normalminoralways
closedfixed 
CMake-2-8 
CMake-2-8 
0009910: Precision of test time on Mac is in seconds
The time elapsed for tests are expressed in seconds and the precision is only in seconds on Mac where on Linux the precision is up to 0.01 second.

It could be an issue in kwsys/SystemTools.cxx, in GetTime() or maybe in the way the value is displayed on the Mac (ostream flags?).

Tested with ctest 2.8.0, on Apple iMac Intel Core Duo, Mac OS X (Tiger) 10.4.11
while running VTK cvs tests with just:

$ ctest

TestDirectory .............. Passed 0.00 sec
...
TestFastNumericConversion....Passed 8.00 sec

No tags attached.
Issue History
2009-11-17 13:38François BertelNew Issue
2009-11-17 14:45Bill HoffmanStatusnew => assigned
2009-11-17 14:45Bill HoffmanAssigned To => Zach Mullen
2009-11-18 09:29Zach MullenNote Added: 0018472
2009-11-18 09:29Zach MullenStatusassigned => confirmed
2009-11-24 14:24Zach MullenStatusconfirmed => resolved
2009-11-24 14:24Zach MullenFixed in Version => CMake-2-8
2009-11-24 14:24Zach MullenResolutionopen => fixed
2010-12-14 18:49David ColeNote Added: 0024071
2010-12-14 18:49David ColeStatusresolved => closed

Notes
(0018472)
Zach Mullen   
2009-11-18 09:29   
I've noticed this as well. I had always assumed that we didn't have any better precision than seconds on mac, but I will look into getting more precise times.
(0024071)
David Cole   
2010-12-14 18:49   
Closing bugs that have been resolved for more than 3 months without any further updates.