[Cmake-commits] [cmake-commits] david.cole committed RunCPack.cmake 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Oct 20 15:18:47 EDT 2009


Update of /cvsroot/CMake/CMake/Tests/CPackTestAllGenerators
In directory public:/mounts/ram/cvs-serv27122/Tests/CPackTestAllGenerators

Modified Files:
	RunCPack.cmake 
Log Message:
Fix failing test. Forgot to double quote last arg to STRING.


Index: RunCPack.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CPackTestAllGenerators/RunCPack.cmake,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** RunCPack.cmake	20 Oct 2009 18:31:10 -0000	1.1
--- RunCPack.cmake	20 Oct 2009 19:18:45 -0000	1.2
***************
*** 15,25 ****
    WORKING_DIRECTORY ${dir})
  
! string(REPLACE ";" "\\;" stdout ${stdout})
! string(REPLACE "\n" "E;" stdout ${stdout})
  
  set(collecting 0)
  set(generators)
  foreach(eline ${stdout})
!   string(REGEX REPLACE "^(.*)E$" "\\1" line ${eline})
    if(collecting AND NOT line STREQUAL "")
      string(REGEX REPLACE "^  ([^ ]+) += (.*)$" "\\1" gen "${line}")
--- 15,25 ----
    WORKING_DIRECTORY ${dir})
  
! string(REPLACE ";" "\\;" stdout "${stdout}")
! string(REPLACE "\n" "E;" stdout "${stdout}")
  
  set(collecting 0)
  set(generators)
  foreach(eline ${stdout})
!   string(REGEX REPLACE "^(.*)E$" "\\1" line "${eline}")
    if(collecting AND NOT line STREQUAL "")
      string(REGEX REPLACE "^  ([^ ]+) += (.*)$" "\\1" gen "${line}")



More information about the Cmake-commits mailing list