[Cmake-commits] [cmake-commits] king committed FileTest.cmake.in 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Apr 29 14:02:57 EDT 2009


Update of /cvsroot/CMake/CMake/Tests/CMakeTests
In directory public:/mounts/ram/cvs-serv28782/Tests/CMakeTests

Modified Files:
	FileTest.cmake.in 
Log Message:
BUG: Fix CMake.File test for deep dir name

This fixes the regex checking expected output of Copy-NoFile to account
for line wrapping when the input directory name is long.


Index: FileTest.cmake.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeTests/FileTest.cmake.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** FileTest.cmake.in	29 Apr 2009 17:13:58 -0000	1.1
--- FileTest.cmake.in	29 Apr 2009 18:02:54 -0000	1.2
***************
*** 12,16 ****
  set(Copy-NoDest-STDERR "given no DESTINATION")
  set(Copy-NoFile-RESULT 1)
! set(Copy-NoFile-STDERR "COPY cannot find .*/does_not_exist\\.txt")
  
  foreach(test
--- 12,16 ----
  set(Copy-NoDest-STDERR "given no DESTINATION")
  set(Copy-NoFile-RESULT 1)
! set(Copy-NoFile-STDERR "COPY cannot find.*/does_not_exist\\.txt")
  
  foreach(test



More information about the Cmake-commits mailing list