MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0011487 | CMake | CTest | public | 2010-11-19 15:23 | 2011-04-04 12:00 |
Reporter | Clinton Stimpson | ||||
Assigned To | David Cole | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | OS Version | ||
Product Version | CMake 2.8.3 | ||||
Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | ||
Summary | 0011487: multiple ctest_test() calls with *_LABEL flag not handled right | ||||
Description | a call to ctest_test(EXCLUDE_LABEL ...) messes up tests are run in a subsequent call to ctest_test() To compare, the "EXCLUDE" option doesn't do this. | ||||
Steps To Reproduce | === CMakeLists.txt === enable_testing() add_test(test1 ${CMAKE_COMMAND} --help) set_tests_properties(test1 PROPERTIES LABELS test1) add_test(test2 ${CMAKE_COMMAND} --help) set_tests_properties(test2 PROPERTIES LABELS test2) === test.ctest === get_filename_component(ROOT "." ABSOLUTE) set(CTEST_SOURCE_DIRECTORY ${ROOT}) set(CTEST_BINARY_DIRECTORY ${ROOT}/build) # need configured build to start with ctest_start(Experimental) ctest_test(EXCLUDE_LABEL test1) #ctest_test(EXCLUDE test1) ctest_start(Experimental) ctest_test(INCLUDE_LABEL test1) ctest_test(INCLUDE test1) ctest_test() | ||||
Additional Information | ctest -V -S test.ctest gives: Run dashboard with model Experimental ... Start 2: test2 1/1 Test 0000002: test2 ............................ Passed 0.02 sec ... Run dashboard with model Experimental ... No tests were found!!! ... No tests were found!!! ... No tests were found!!! | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-11-19 15:23 | Clinton Stimpson | New Issue | |||
2010-11-19 16:30 | Clinton Stimpson | Note Added: 0023456 | |||
2010-12-09 11:43 | David Cole | Assigned To | => David Cole | ||
2010-12-09 11:43 | David Cole | Status | new => assigned | ||
2010-12-09 11:43 | David Cole | Target Version | => CMake 2.8.4 | ||
2010-12-17 17:41 | David Cole | Note Added: 0024255 | |||
2010-12-17 17:41 | David Cole | Status | assigned => resolved | ||
2010-12-17 17:41 | David Cole | Fixed in Version | => CMake 2.8.4 | ||
2010-12-17 17:41 | David Cole | Resolution | open => fixed | ||
2011-04-04 12:00 | David Cole | Note Added: 0026074 | |||
2011-04-04 12:00 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|