View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011362CMakeCTestpublic2010-10-26 06:102011-05-02 14:45
ReporterRolf Eike Beer 
Assigned ToBen Boeckel 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 2.8.4Fixed in VersionCMake 2.8.4 
Summary0011362: Tests should be able to be called from a given working directory
DescriptionThis 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.
TagsNo tags attached.
Attached Filespatch file icon 0001-add-the-WORKIND_DIRECTORY-property-to-tests.patch [^] (5,608 bytes) 2010-10-26 06:10 [Show Content]

 Relationships

  Notes
(0023805)
Ben Boeckel (developer)
2010-12-08 13:27

Patch looks good. Will get merged for 2.8.4.
(0024220)
Ben Boeckel (developer)
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 (developer)
2011-01-06 14:27

Merged into master.

http://cmake.org/gitweb?p=cmake.git;a=commit;h=97c5171d6c1eb0b201662067e9c041003415ae93 [^]
(0026315)
David Cole (manager)
2011-05-02 14:45

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

 Issue History
Date Modified Username Field Change
2010-10-26 06:10 Rolf Eike Beer New Issue
2010-10-26 06:10 Rolf Eike Beer File Added: 0001-add-the-WORKIND_DIRECTORY-property-to-tests.patch
2010-11-10 13:10 David Cole Assigned To => David Cole
2010-11-10 13:10 David Cole Status new => assigned
2010-11-10 13:10 David Cole Target Version => CMake 2.8.4
2010-12-08 13:27 Ben Boeckel Assigned To David Cole => Ben Boeckel
2010-12-08 13:27 Ben Boeckel Note Added: 0023805
2010-12-16 17:12 Ben Boeckel Note Added: 0024220
2011-01-06 14:27 Ben Boeckel Note Added: 0024469
2011-01-06 14:27 Ben Boeckel Status assigned => resolved
2011-01-06 14:27 Ben Boeckel Resolution open => fixed
2011-01-06 14:27 Ben Boeckel Fixed in Version => CMake 2.8.4
2011-05-02 14:45 David Cole Note Added: 0026315
2011-05-02 14:45 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team