MantisBT - CMake
View Issue Details
0011362CMakeCTestpublic2010-10-26 06:102011-05-02 14:45
Rolf Eike Beer 
Ben Boeckel 
normalfeatureN/A
closedfixed 
CMake-2-8 
CMake 2.8.4CMake 2.8.4 
0011362: Tests should be able to be called from a given working directory
This question came up at least twice on the cmake mailing list in the last few days. While using "cmake -E chdir foo" as a test driver works, it's a bit unintuitive.

This patch implements the WORKING_DIRECTORY property for tests.
No tags attached.
patch 0001-add-the-WORKIND_DIRECTORY-property-to-tests.patch (5,608) 2010-10-26 06:10
https://public.kitware.com/Bug/file/3468/0001-add-the-WORKIND_DIRECTORY-property-to-tests.patch
Issue History
2010-10-26 06:10Rolf Eike BeerNew Issue
2010-10-26 06:10Rolf Eike BeerFile Added: 0001-add-the-WORKIND_DIRECTORY-property-to-tests.patch
2010-11-10 13:10David ColeAssigned To => David Cole
2010-11-10 13:10David ColeStatusnew => assigned
2010-11-10 13:10David ColeTarget Version => CMake 2.8.4
2010-12-08 13:27Ben BoeckelAssigned ToDavid Cole => Ben Boeckel
2010-12-08 13:27Ben BoeckelNote Added: 0023805
2010-12-16 17:12Ben BoeckelNote Added: 0024220
2011-01-06 14:27Ben BoeckelNote Added: 0024469
2011-01-06 14:27Ben BoeckelStatusassigned => resolved
2011-01-06 14:27Ben BoeckelResolutionopen => fixed
2011-01-06 14:27Ben BoeckelFixed in Version => CMake 2.8.4
2011-05-02 14:45David ColeNote Added: 0026315
2011-05-02 14:45David ColeStatusresolved => closed

Notes
(0023805)
Ben Boeckel   
2010-12-08 13:27   
Patch looks good. Will get merged for 2.8.4.
(0024220)
Ben Boeckel   
2010-12-16 17:12   
Fixed a typo in the commit message (WORKIND_DIRECTORY -> WORKING_DIRECTORY), renamed the test to TestsWorkingDirectory, and added the WORKING_DIRECTORY argument to the add_test command (and associated tests). Merged into next with commit b994ddb.
(0024469)
Ben Boeckel   
2011-01-06 14:27   
Merged into master.

http://cmake.org/gitweb?p=cmake.git;a=commit;h=97c5171d6c1eb0b201662067e9c041003415ae93 [^]
(0026315)
David Cole   
2011-05-02 14:45   
Closing resolved issues that have not been updated in more than 3 months.