<div class="gmail_quote">On Thu, Jan 22, 2009 at 12:42 PM, Ashutosh Juneja <span dir="ltr">&lt;<a href="mailto:ashutosh.juneja@gmail.com">ashutosh.juneja@gmail.com</a>&gt;</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;">
<p>Hi,</p>
<p>I am new to CMake/CTest infrastructure. I have built a project (c:\build) from source code (c:\src) using cmake on windows. My aim is to integrate CTest onto CMake build by running few regression tests. The testcases are located at c:\tests. </p>


<p>c:\test\test01<br>c:\test\test02<br>To run a test, i have to cd to area &#39;test01&#39; and then execute perl commands. I want to know:</p>
<p>1. At what location should i modify CMakeList.txt file to include ADD_TEST commands? At c:\build or c:\src or c:\test?</p></blockquote><div>I suppose you could have the ADD_TEST commands be in either C:\src or C:\test.&nbsp; Most people keep their tests in their source tree.&nbsp; I think you should be able to include CMake code in C:\test, however, if this is what you want to do.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><p>2. Is this the same location from where i have to run &#39;ctest -D Experimental&#39;?</p>
</blockquote><div>You&#39;ll want to run ctest from within C:\build<br></div></div><br><br clear="all"><br>-- <br>Philip Lowman<br>