Anyone? Any suggestions would be appreciated.<br><br>Petr<br><br><div class="gmail_quote">On Mon, Sep 24, 2012 at 5:16 PM, Petr Kmoch <span dir="ltr">&lt;<a href="mailto:petr.kmoch@gmail.com" target="_blank">petr.kmoch@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br><br>I seem to have a problem when using add_test(... CONFIGURATIONS ...) and running &#39;make test&#39; on Linux. It&#39;s skipping the test.<br>
<br>The CMakeLists.txt contains:<br>#...<br>enable_testing()<br>add_test(NAME test1 CONFIGURATIONS db COMMAND ...)<br>
#...<br><br>On Windows, I invoke CMake like this:<br>cmake -DCMAKE_CONFIGURATION_TYPES:STRING=rel\;inhouse\;db -G &quot;Visual Studio 8 2005&quot;<br><br>All works fine and the test is run when I &quot;build&quot; RUN_TESTS in &#39;db&#39; configuration.<br>

<br>When I invoke CMake on Linux, like this:<br>cmake -DCMAKE_CONFIGURATION_TYPES:STRING=rel\;inhouse\;db -DCMAKE_BUILD_TYPE:STRING=db -G &quot;Unix Makefiles&quot;<br><br>Then after &#39;make test&#39;, the test is not run. I tried manually injecting a &#39;message(&quot;&gt;${CTEST_CONFIGURATION_TYPE}&lt;&quot;)&#39; into the generated CTestTestfile.cmake file, but the output was &#39;&gt;&lt;&#39; (i.e. CTEST_CONFIGURATION_TYPE is not set). Am I doing something wrong?<br>

<br>Thanks in advance for your help.<span class="HOEnZb"><font color="#888888"><br><br>Petr<br>
</font></span></blockquote></div><br>