CTEST_CUSTOM_ERROR_MATCH not working ?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

CTEST_CUSTOM_ERROR_MATCH not working ?

Michal Wozniak

Hi, 


I'm using ctest to build and test my project.  I trying to use CTEST_CUSTOM_ERROR_MATCH to find a different type of errors but it is always defaulting back to "ERROR:".   I am setting this variable in my CTestConfig.cmake. 


set(CTEST_CUSTOM_ERROR_MATCH
    "error1"    
    "error2"
    "error3"
    )

when I print the value, everything seems to be set correctly, but then on my CDash, i  getting the default regex "Error regular expression found in output. Regex=[(<br /> |^)ERROR: ]"

Is this the correct way to change the default error regular expression? 

thanks

Michal 


--

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:
https://cmake.org/mailman/listinfo/cmake