[cmake-developers] [CMake 0013949]: FAIL_REGULAR_EXPRESSION doesn't match beginning-of-line properly

Mantis Bug Tracker mantis at public.kitware.com
Mon Feb 25 01:46:11 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13949 
====================================================================== 
Reported By:                Dave Abrahams
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13949
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-02-25 01:46 EST
Last Modified:              2013-02-25 01:46 EST
====================================================================== 
Summary:                    FAIL_REGULAR_EXPRESSION doesn't match
beginning-of-line properly
Description: 
I ended up doing:

set_tests_properties(conversion PROPERTIES 
  DEPENDS prepare
  FAIL_REGULAR_EXPRESSION "(^|
)[+][+] WARNING: "
  )

because this wasn't working:

set_tests_properties(conversion PROPERTIES 
  DEPENDS prepare
  FAIL_REGULAR_EXPRESSION "^[+][+] WARNING: "
  )

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-02-25 01:46 Dave Abrahams  New Issue                                    
======================================================================




More information about the cmake-developers mailing list