On 06/22/2015 03:56 PM, Michael Scott wrote:
> the actual and expected values are identical. Why would this happen?

The expected value file is actually a regular expression that must
match the actual value.  This allows it to tolerate path differences
and other minor variations in the actual output.  Any regex meta-chars
need to be escaped in the -stderr.txt file.  Take a look at the code
in Tests/RunCMake/RunCMake.cmake to see the transformations done.

Thanks,
-Brad

-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to