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 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 few
people would be happy to see it added to 2.6.

-- 
Philip Lowman
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to