View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009910CMakeCTestpublic2009-11-17 13:382010-12-14 18:49
ReporterFrançois Bertel 
Assigned ToZach Mullen 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in VersionCMake-2-8 
Summary0009910: Precision of test time on Mac is in seconds
DescriptionThe 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

TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0018472)
Zach Mullen (developer)
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 (manager)
2010-12-14 18:49

Closing bugs that have been resolved for more than 3 months without any further updates.

 Issue History
Date Modified Username Field Change
2009-11-17 13:38 François Bertel New Issue
2009-11-17 14:45 Bill Hoffman Status new => assigned
2009-11-17 14:45 Bill Hoffman Assigned To => Zach Mullen
2009-11-18 09:29 Zach Mullen Note Added: 0018472
2009-11-18 09:29 Zach Mullen Status assigned => confirmed
2009-11-24 14:24 Zach Mullen Status confirmed => resolved
2009-11-24 14:24 Zach Mullen Fixed in Version => CMake-2-8
2009-11-24 14:24 Zach Mullen Resolution open => fixed
2010-12-14 18:49 David Cole Note Added: 0024071
2010-12-14 18:49 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team