View Issue Details [ Jump to Notes ] | [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0010910 | CMake | CTest | public | 2010-06-29 15:54 | 2010-12-14 18:50 |
|
Reporter | Zack Galbreath | |
Assigned To | Zach Mullen | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | CMake-2-8 | |
Target Version | | Fixed in Version | CMake-2-8 | |
|
Summary | 0010910: redundant test dependencies detected as cycles |
Description | If a test has multiple dependencies it's possible that CTest will erroneously detect a cycle. Here's an example of when this will happen:
Test A depends on test B & C
Test B also depends on C
in this case CTest will report a cycle in the dependency graph for test C, which actually has no dependencies.
The attached CMakeLists.txt reproduces this problem. |
Tags | No tags attached. |
|
Attached Files | CMakeLists.txt [^] (280 bytes) 2010-06-29 15:54 [Show Content] [Hide Content]cmake_minimum_required (VERSION 2.6)
PROJECT(Simple)
INCLUDE(CTest)
ADD_EXECUTABLE (simple simple.cxx)
ADD_TEST (one simple)
ADD_TEST (two simple)
set_tests_properties(two PROPERTIES DEPENDS "one")
ADD_TEST (three simple)
set_tests_properties(three PROPERTIES DEPENDS "one;two")
|
|