View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011703CMakeCMakepublic2011-01-15 11:402011-01-31 16:00
Reporterprokher 
Assigned ToBrad King 
PrioritynormalSeveritytrivialReproducibilityalways
StatusclosedResolutionfixed 
PlatformallOSallOS Versionall
Product Version 
Target VersionCMake 2.8.4Fixed in VersionCMake 2.8.4 
Summary0011703: Implementation of 'get_test_property' command does not correspond to documentation.
Descriptionget_test_property, doesn't work as it described in the documentation. After short investigation I've found the following.

First of all, take a look at files
./Source/cmGetTestPropertyCommand.cxx
./Source/cmGetTestPropertyCommand.h

In the method cmGetTestPropertyCommand::GetFullDocumentation it is said "get_test_property(test VAR property)", but if you glance at cmGetTestPropertyCommand::InitialPass you'll see that actually arguments parsed as "get_test_property(test property VAR)". So either documentation or parsing code should be fixed.

Second. In "GetFulllDocumentation" said "If the property is not found, CMake will report an error.", that is not true. If property is not found it only sets VAR to 'NOTFOUND' error is not reported.
TagsNo tags attached.
Attached Files

 Relationships


 Issue History
Date Modified Username Field Change
2011-01-15 11:40 prokher New Issue
2011-01-17 09:22 Brad King Assigned To => Brad King
2011-01-17 09:22 Brad King Status new => assigned
2011-01-17 09:22 Brad King Note Added: 0024745
2011-01-17 09:23 Brad King Status assigned => closed
2011-01-17 09:23 Brad King Resolution open => fixed
2011-01-31 16:00 David Cole Fixed in Version => CMake 2.8.4
2011-01-31 16:00 David Cole Target Version => CMake 2.8.4


Copyright © 2000 - 2018 MantisBT Team