diff options
| author | Brad King <brad.king@kitware.com> | 2023-05-23 10:16:10 (GMT) |
|---|---|---|
| committer | Kitware Robot <kwrobot@kitware.com> | 2023-05-23 10:16:32 (GMT) |
| commit | e05230ebcfebf9c47b89accbc26384b6402c11eb (patch) | |
| tree | 1e90fcbf106aeb564a7f295dc4b0487185d31e88 /Tests/Module/ExternalData/Data1Check.cmake | |
| parent | 17f574e8670ac9f73b65e9c16b2e0ac3d122ff48 (diff) | |
| parent | 1689e0a118f37f62d198a213946d98624350cb4c (diff) | |
| download | CMake-e05230ebcfebf9c47b89accbc26384b6402c11eb.zip CMake-e05230ebcfebf9c47b89accbc26384b6402c11eb.tar.gz CMake-e05230ebcfebf9c47b89accbc26384b6402c11eb.tar.bz2 | |
Merge topic 'ci-fedora-38'
1689e0a118 ci: Subsume Clang C++ modules testing in main Fedora+Clang jobs
bdaa9e1e4e ci: use Fedora 38 images and environments
b69c63d3aa ci: update Linux image to Fedora 38
9c388fb064 ci: Remove nlohmann-json from Fedora base image
d9d061d19f ci: Disable sccache in clang-analyzer job
fad150d314 clang-tidy module: Update to build against LLVM/Clang 16
ce3ec02bb2 clang-tidy module: Drop unused variable
2c27968619 clang-tidy: ignore warnings new in version 16
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8502
Diffstat (limited to 'Tests/Module/ExternalData/Data1Check.cmake')
| -rw-r--r-- | Tests/Module/ExternalData/Data1Check.cmake | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/Tests/Module/ExternalData/Data1Check.cmake b/Tests/Module/ExternalData/Data1Check.cmake index f60c209..7fe4389 100644 --- a/Tests/Module/ExternalData/Data1Check.cmake +++ b/Tests/Module/ExternalData/Data1Check.cmake @@ -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() |
