mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
codespell: Avoid escape sequence that looks like misspelled "nodes"
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
file(STRINGS "${Data}" lines LIMIT_INPUT 1024)
|
||||
if(NOT "x${lines}" STREQUAL "xInput file already transformed.")
|
||||
message(SEND_ERROR "Input file:\n ${Data}\ndoes not have expected content, but [[${lines}]]")
|
||||
message(SEND_ERROR "Input file:\n ${Data}\n" "does not have expected content, but [[${lines}]]")
|
||||
endif()
|
||||
if(DEFINED DataSpace)
|
||||
file(STRINGS "${DataSpace}" lines LIMIT_INPUT 1024)
|
||||
if(NOT "x${lines}" STREQUAL "xInput file already transformed.")
|
||||
message(SEND_ERROR "Input file:\n ${DataSpace}\ndoes not have expected content, but [[${lines}]]")
|
||||
message(SEND_ERROR "Input file:\n ${DataSpace}\n" "does not have expected content, but [[${lines}]]")
|
||||
endif()
|
||||
endif()
|
||||
file(STRINGS "${DataScript}" lines LIMIT_INPUT 1024)
|
||||
if(NOT "x${lines}" STREQUAL "xDataScript")
|
||||
message(SEND_ERROR "Input file:\n ${DataScript}\ndoes not have expected content, but [[${lines}]]")
|
||||
message(SEND_ERROR "Input file:\n ${DataScript}\n" "does not have expected content, but [[${lines}]]")
|
||||
endif()
|
||||
file(STRINGS "${DataAlgoMapA}" lines LIMIT_INPUT 1024)
|
||||
if(NOT "x${lines}" STREQUAL "xDataAlgoMap")
|
||||
message(SEND_ERROR "Input file:\n ${DataAlgoMapA}\ndoes not have expected content, but [[${lines}]]")
|
||||
message(SEND_ERROR "Input file:\n ${DataAlgoMapA}\n" "does not have expected content, but [[${lines}]]")
|
||||
endif()
|
||||
file(STRINGS "${DataAlgoMapB}" lines LIMIT_INPUT 1024)
|
||||
if(NOT "x${lines}" STREQUAL "xDataAlgoMap")
|
||||
message(SEND_ERROR "Input file:\n ${DataAlgoMapB}\ndoes not have expected content, but [[${lines}]]")
|
||||
message(SEND_ERROR "Input file:\n ${DataAlgoMapB}\n" "does not have expected content, but [[${lines}]]")
|
||||
endif()
|
||||
if(DataMissing)
|
||||
if(EXISTS "${DataMissing}")
|
||||
@@ -54,7 +54,7 @@ foreach(s A B C D)
|
||||
foreach(n "" ${Series${s}l})
|
||||
string(REGEX REPLACE "\\.dat$" "${n}.dat" file "${Series${s}}")
|
||||
if(NOT EXISTS "${file}")
|
||||
message(SEND_ERROR "Input file:\n ${file}\ndoes not exist!")
|
||||
message(SEND_ERROR "Input file:\n ${file}\n" "does not exist!")
|
||||
endif()
|
||||
endforeach()
|
||||
endforeach()
|
||||
@@ -62,45 +62,45 @@ foreach(s A B C D)
|
||||
foreach(n ${Series${s}l})
|
||||
string(REGEX REPLACE "${Series${s}n1}$" "${n}.dat" file "${Series${s}n}")
|
||||
if(NOT EXISTS "${file}")
|
||||
message(SEND_ERROR "Input file:\n ${file}\ndoes not exist!")
|
||||
message(SEND_ERROR "Input file:\n ${file}\n" "does not exist!")
|
||||
endif()
|
||||
endforeach()
|
||||
endforeach()
|
||||
foreach(n .1 .2 .3 .4)
|
||||
string(REGEX REPLACE "\\.1\\.dat$" "${n}.dat" file "${SeriesMixed}")
|
||||
if(NOT EXISTS "${file}")
|
||||
message(SEND_ERROR "Input file:\n ${file}\ndoes not exist!")
|
||||
message(SEND_ERROR "Input file:\n ${file}\n" "does not exist!")
|
||||
endif()
|
||||
endforeach()
|
||||
foreach(n A B)
|
||||
string(REGEX REPLACE "A\\.dat$" "${n}.dat" file "${Paired}")
|
||||
if(NOT EXISTS "${file}")
|
||||
message(SEND_ERROR "Input file:\n ${file}\ndoes not exist!")
|
||||
message(SEND_ERROR "Input file:\n ${file}\n" "does not exist!")
|
||||
endif()
|
||||
endforeach()
|
||||
foreach(n Top A B C)
|
||||
string(REGEX REPLACE "Top\\.dat$" "${n}.dat" file "${Meta}")
|
||||
if(NOT EXISTS "${file}")
|
||||
message(SEND_ERROR "Input file:\n ${file}\ndoes not exist!")
|
||||
message(SEND_ERROR "Input file:\n ${file}\n" "does not exist!")
|
||||
endif()
|
||||
endforeach()
|
||||
foreach(n A B C)
|
||||
set(file "${Directory}/${n}.dat")
|
||||
if(NOT EXISTS "${file}")
|
||||
message(SEND_ERROR "Input file:\n ${file}\ndoes not exist!")
|
||||
message(SEND_ERROR "Input file:\n ${file}\n" "does not exist!")
|
||||
endif()
|
||||
endforeach()
|
||||
foreach(n A Sub1/A Sub2/Dir/A B Sub1/B Sub2/Dir/B C Sub1/C Sub2/Dir/C)
|
||||
set(file "${DirRecurse}/${n}.dat")
|
||||
if(NOT EXISTS "${file}")
|
||||
message(SEND_ERROR "Input file:\n ${file}\ndoes not exist!")
|
||||
message(SEND_ERROR "Input file:\n ${file}\n" "does not exist!")
|
||||
endif()
|
||||
endforeach()
|
||||
list(LENGTH Semicolons len)
|
||||
if("${len}" EQUAL 2)
|
||||
foreach(file ${Semicolons})
|
||||
if(NOT EXISTS "${file}")
|
||||
message(SEND_ERROR "Input file:\n ${file}\ndoes not exist!")
|
||||
message(SEND_ERROR "Input file:\n ${file}\n" "does not exist!")
|
||||
endif()
|
||||
endforeach()
|
||||
else()
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
foreach(d "${Data2}" "${Data2b}")
|
||||
file(STRINGS "${d}" lines LIMIT_INPUT 1024)
|
||||
if(NOT "x${lines}" STREQUAL "xInput file already transformed.")
|
||||
message(SEND_ERROR "Input file:\n ${d}\ndoes not have expected content, but [[${lines}]]")
|
||||
message(SEND_ERROR "Input file:\n ${d}\n" "does not have expected content, but [[${lines}]]")
|
||||
endif()
|
||||
endforeach()
|
||||
foreach(n 1 2 3)
|
||||
string(REGEX REPLACE "_1_\\.my\\.dat$" "_${n}_.my.dat" SeriesCFile "${SeriesC}")
|
||||
if(NOT EXISTS "${SeriesCFile}")
|
||||
message(SEND_ERROR "Input file:\n ${SeriesCFile}\ndoes not exist!")
|
||||
message(SEND_ERROR "Input file:\n ${SeriesCFile}\n" "does not exist!")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
if(NOT EXISTS "${Data}")
|
||||
message(SEND_ERROR "Input file:\n ${Data}\ndoes not exist!")
|
||||
message(SEND_ERROR "Input file:\n ${Data}\n" "does not exist!")
|
||||
endif()
|
||||
if(NOT EXISTS "${Other}")
|
||||
message(SEND_ERROR "Input file:\n ${Other}\ndoes not exist!")
|
||||
message(SEND_ERROR "Input file:\n ${Other}\n" "does not exist!")
|
||||
endif()
|
||||
# Verify that the 'Data' object was found in the second store location left
|
||||
# from Data1 target downloads and that the 'Other' object was downloaded to
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
if(NOT EXISTS "${Data}")
|
||||
message(SEND_ERROR "Input file:\n ${Data}\ndoes not exist!")
|
||||
message(SEND_ERROR "Input file:\n ${Data}\n" "does not exist!")
|
||||
endif()
|
||||
if(NOT EXISTS "${Other}")
|
||||
message(SEND_ERROR "Input file:\n ${Other}\ndoes not exist!")
|
||||
message(SEND_ERROR "Input file:\n ${Other}\n" "does not exist!")
|
||||
endif()
|
||||
# Verify that the 'Data' object was found in the second store location left
|
||||
# from Data1 target downloads and that the 'Other' object was found in the
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
file(STRINGS "${Data5}" lines LIMIT_INPUT 1024)
|
||||
if(NOT "x${lines}" STREQUAL "xInput file already transformed.")
|
||||
message(SEND_ERROR "Input file:\n ${Data5}\ndoes not have expected content, but [[${lines}]]")
|
||||
message(SEND_ERROR "Input file:\n ${Data5}\n" "does not have expected content, but [[${lines}]]")
|
||||
endif()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
if(NOT EXISTS "${Data}")
|
||||
message(SEND_ERROR "Input file:\n ${Data}\ndoes not exist!")
|
||||
message(SEND_ERROR "Input file:\n ${Data}\n" "does not exist!")
|
||||
endif()
|
||||
if(IS_SYMLINK "${Data}")
|
||||
message(SEND_ERROR "Input file:\n ${Data}\nis a symlink but should not be!")
|
||||
|
||||
Reference in New Issue
Block a user