<div class="gmail_quote">On Wed, Jun 10, 2009 at 9:13 PM, Dong Tiger <span dir="ltr"><<a href="mailto:idlecat511@gmail.com">idlecat511@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>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.</blockquote><div>
<br>The feature is in CMake CVS (see ENVIRONMENT test property).<br><br>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.<br>
<br></div></div>-- <br>Philip Lowman<br>