View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006391CMakeCTestpublic2008-02-20 09:532010-12-14 18:45
ReporterJörg Becker 
Assigned ToDavid Cole 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006391: CTest: set environment variables for test session
DescriptionIt would be great, if there would be a possibility to set environment variables (via CMakeLists.txt) for a test session. ICU_DATA, LD_LIBRARY_PATH, PATH are such variables I have in mind.
Additional InformationHaving this feature, I could run my tests simply by 'make test'. Currently I have to call 'make depend;export a=foo;export b=bar;ctest'.
I tried both 'set(ENV{ICU_DATA} "foo")' and 'set(CTEST_ENVIRONMENT "ICU_DATA=bar")', but without any success.
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0007885closedDavid Cole Set environment before running a test 

  Notes
(0024003)
David Cole (manager)
2010-12-14 18:45

Closing bugs that have been resolved for more than 3 months without any further updates.

 Issue History
Date Modified Username Field Change
2008-02-20 09:53 Jörg Becker New Issue
2008-02-21 12:07 Alex Neundorf Category CCMake => CTest
2008-03-27 22:07 Bill Hoffman Status new => assigned
2008-03-27 22:07 Bill Hoffman Assigned To => Ken Martin
2009-04-03 11:40 David Cole Assigned To Ken Martin => David Cole
2009-04-03 11:42 David Cole Relationship added duplicate of 0007885
2009-04-03 11:42 David Cole Duplicate ID 0 => 7885
2009-04-03 11:42 David Cole Status assigned => resolved
2009-04-03 11:42 David Cole Resolution open => duplicate
2010-12-14 18:45 David Cole Note Added: 0024003
2010-12-14 18:45 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team