MantisBT - CDash
View Issue Details
0007838CDashpublic2008-10-21 12:112009-10-05 13:22
Sean McBride 
 
normalminoralways
closedduplicate 
Mac OS XMac OS X10.5
 
 
0007838: CDash OS information is not ideal on Mac OS X
CDash reports at the top of a dashboard page various OS information. For example:

http://www.cdash.org/CDash/buildSummary.php?buildid=201967 [^]

shows:

OS Name: Darwin
OS Platform: Power Macintosh
OS Release: 9.5.0
OS Version: Darwin Kernel Version 9.5.0: Wed Sep 3 11:31:44 PDT 2008; root:xnu-1228.7.58~1/RELEASE_PPC

This information is not ideal. Very few people use plain Darwin as opposed to the full Mac OS X (Darwin is the open source part, available separately).

I think the following would be more useful:

OS Name: Mac OS X
OS Platform: Power Macintosh
OS Release: 10.5.5
OS Version: 9F33

You can get that info by running 'sw_vers' in the terminal. Example:

$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.5.5
BuildVersion: 9F33

See its man page.

The current gory details of the kernel version and not so helpful, because everyone use OS X, not Darwin, and its kernel is never updated separately.
No tags attached.
duplicate of 0009663resolved Julien Jomier CTest/CDash OS version & compiler information is lacking on Mac OS X 
Issue History
2008-10-21 12:11Sean McBrideNew Issue
2009-10-02 13:27Sean McBrideNote Added: 0017907
2009-10-05 13:17Brad KingRelationship addedduplicate of 0009663
2009-10-05 13:18Brad KingNote Added: 0017956
2009-10-05 13:22David ColeNote Added: 0017957
2009-10-05 13:22David ColeStatusnew => closed
2009-10-05 13:22David ColeResolutionopen => duplicate

Notes
(0017907)
Sean McBride   
2009-10-02 13:27   
Additionally, it seems unable to detect the compiler. Ex:

http://www.cdash.org/CDash/buildSummary.php?buildid=440701 [^]

shows:

Compiler Name: unknown
Compiler Version: unknown

This is most unfortunate since both 10.5 and 10.6 each ship with several compilers: gcc 4.2, llvm-gcc, and clang. All 3 respond to the --version argument:

On 10.6.1 with Xcode 3.2 for example:

$ clang --version
clang version 1.0 (http://llvm.org/svn/llvm-project/cfe/tags/Apple/clang-23 [^] exported)

$ gcc-4.2 --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)

$ llvm-gcc --version
i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5646) (LLVM build 2118)
(0017956)
Brad King   
2009-10-05 13:18   
This can be closed as the bug is actually in CTest, not CDash. See issue 0009663.
(0017957)
David Cole   
2009-10-05 13:22   
see issue 0009663