View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004564CMakeCTestpublic2007-03-09 19:462011-06-17 12:38
ReporterMatthew Woehlke 
Assigned ToDavid Cole 
PrioritylowSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionCMake 2.8.5Fixed in VersionCMake 2.8.5 
Summary0004564: RFE: run CMake's test suite with 'make check'
DescriptionFor cmake 2.4.7 (or whatever comes next), could 'make check' work (i.e. do the same thing as 'make test', rather than being an unknown target)? Right now I added this to CMakeLists.txt:

ADD_CUSTOM_TARGET(check make test)

Rationale: I want to include cmake with a set of mostly-GNU packages I maintain. To avoid special-casing just for cmake, I need 'check' to be the test-suite target.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0025215)
David Cole (manager)
2011-02-01 15:55

Fix pushed to 'next'
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=816c9d1aa1f2b42d40c81a991b68c96eb12b6d26 [^]
(0025216)
David Cole (manager)
2011-02-01 15:57

Once this fix is in a real release of CMake (not until at least 2.8.5), you'll have to configure CMake with that real release (or bootstrap that one) and use:

cmake -DCTEST_TEST_TARGET_ALIAS=check ../CMake

in order to get a "check" target. But you can have one now without modifying the CMake source code first. You can also do the same with any other project that does an "include(CTest)" and uses ctest for its test suite.
(0026723)
David Cole (manager)
2011-06-06 18:25

Closing resolved issues that have not been updated in more than 3 months.

 Issue History
Date Modified Username Field Change
2010-12-14 11:41 David Cole Assigned To Ken Martin => David Cole
2011-02-01 15:55 David Cole Note Added: 0025215
2011-02-01 15:55 David Cole Status assigned => resolved
2011-02-01 15:55 David Cole Resolution open => fixed
2011-02-01 15:57 David Cole Note Added: 0025216
2011-02-16 11:44 David Cole Target Version => CMake 2.8.5
2011-06-06 18:25 David Cole Status resolved => closed
2011-06-06 18:25 David Cole Note Added: 0026723
2011-06-17 12:38 David Cole Fixed in Version => CMake 2.8.5


Copyright © 2000 - 2018 MantisBT Team