Re: [CMake] [CMAKE]: Feature request: Set environment variables in add_test

2009-06-11 Thread Philip Lowman
On Wed, Jun 10, 2009 at 9:13 PM, Dong Tiger idlecat...@gmail.com wrote: Hi, It will be very convenient to be able to specify some environment variables when a unit test runs. Currently, the only way I know is using shell script as a wrapper for the actual test program. The feature is in

Re: [CMake] [CMAKE]: Feature request: Set environment variables in add_test

2009-06-11 Thread Bill Hoffman
Philip Lowman wrote: The feature is in CMake CVS (see ENVIRONMENT test property). This came up at work the other day too, someone wanted to set the LD_LIBRARY_PATH environment variable for some dlload()ed lua plugins as part of a unit test. Given how popular this has become I think quite a

Re: [CMake] [CMAKE]: Feature request: Set environment variables in add_test

2009-06-11 Thread Dong Tiger
Thanks. CMake really rocks! 2009/6/11 Bill Hoffman bill.hoff...@kitware.com Philip Lowman wrote: The feature is in CMake CVS (see ENVIRONMENT test property). This came up at work the other day too, someone wanted to set the LD_LIBRARY_PATH environment variable for some dlload()ed lua

Re: [CMake] [CMAKE]: Feature request: Set environment variables in add_test

2009-06-11 Thread Philip Lowman
On Thu, Jun 11, 2009 at 9:37 AM, Bill Hoffman bill.hoff...@kitware.comwrote: Philip Lowman wrote: The feature is in CMake CVS (see ENVIRONMENT test property). This came up at work the other day too, someone wanted to set the LD_LIBRARY_PATH environment variable for some dlload()ed lua

[CMake] [CMAKE]: Feature request: Set environment variables in add_test

2009-06-10 Thread Dong Tiger
Hi, It will be very convenient to be able to specify some environment variables when a unit test runs. Currently, the only way I know is using shell script as a wrapper for the actual test program. -- Tiger ___ Powered by www.kitware.com Visit other