MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015812 | CMake | CMake | public | 2015-10-27 15:29 | 2016-06-10 14:31 |
| Reporter | Chris Green | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | moved | ||
| Platform | Apple Mac | OS | OS X | OS Version | 10.4.10 |
| Product Version | CMake 3.3.2 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0015812: Generator expressions to support test properties | ||||
| Description | As part of a function (cet_test()) to define a test, I invoke add_test(), which invokes a test wrapper script which needs to know the correct return code to use if requirements are not satisfied for the test. The invoker of the cet_test() function may set the SKIP_RETURN_CODE property on the test, and I need to be able to take account of that. If we were talking about target properties, I could quite happily say $<TARGET_PROPERTY:TGT,PROP> as part of the COMMAND definition to add_test(). There does not appear to be an analogous $<TEST_PROPERTY:TST,PROP> I can use to obtain SKIP_RETURN_CODE from the current test properties. | ||||
| Steps To Reproduce | Use add_test to invoke a COMMAND (echo, say) to which you try to pass the value of SKIP_RETURN_CODE to the echo command. As of 3.3.2, there is no way that I can find to do this. | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-10-27 15:29 | Chris Green | New Issue | |||
| 2015-10-27 15:49 | Stephen Kelly | Note Added: 0039688 | |||
| 2016-06-10 14:29 | Kitware Robot | Note Added: 0042866 | |||
| 2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
| 2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||