diff options
| author | beatrice <beatrice@dangofactory.net> | 2026-11-22 19:26:02 +0900 |
|---|---|---|
| committer | beatrice <beatrice@dangofactory.net> | 2026-11-22 19:26:02 +0900 |
| commit | d98d160e2cf0df1de98ea62dc778e6072cb671e4 (patch) | |
| tree | 3bdfa4977f2a57e55131ab45884c803c57f0bf6a /Tests/RunCMake | |
| parent | 859ca5c4d7396a011a462878179bc173e1283731 (diff) | |
| download | cmake-master.tar.gz cmake-master.zip | |
Release tarball cmake-3.31.6.tar.gz (dist-generated files / local differences from tag)HEADlocal/cmakemaster
Diffstat (limited to 'Tests/RunCMake')
| -rw-r--r-- | Tests/RunCMake/CPack_NuGet/.gitattributes | 3 | ||||
| -rw-r--r-- | Tests/RunCMake/CommandLine/.gitattributes | 2 | ||||
| -rw-r--r-- | Tests/RunCMake/CommandLine/cmake_depends/.gitattributes | 2 | ||||
| -rw-r--r-- | Tests/RunCMake/CommandLine/compare_files/.gitattributes | 2 | ||||
| -rw-r--r-- | Tests/RunCMake/GenerateExportHeader/reference/.gitattributes | 2 | ||||
| -rw-r--r-- | Tests/RunCMake/Syntax/.gitattributes | 3 | ||||
| -rw-r--r-- | Tests/RunCMake/Syntax/BracketCRLF.cmake | 16 | ||||
| -rw-r--r-- | Tests/RunCMake/Syntax/StringCRLF.cmake | 12 |
8 files changed, 14 insertions, 28 deletions
diff --git a/Tests/RunCMake/CPack_NuGet/.gitattributes b/Tests/RunCMake/CPack_NuGet/.gitattributes deleted file mode 100644 index 4a8bbd0eaf..0000000000 --- a/Tests/RunCMake/CPack_NuGet/.gitattributes +++ /dev/null @@ -1,3 +0,0 @@ -# Do not check whitespace in the nuspec file for comparison. It needs to -# look identical to the file generated in the test. -expected.nuspec -whitespace diff --git a/Tests/RunCMake/CommandLine/.gitattributes b/Tests/RunCMake/CommandLine/.gitattributes deleted file mode 100644 index b0b0588cb3..0000000000 --- a/Tests/RunCMake/CommandLine/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -E_cat_binary_files/binary.obj -text -E_cat_good_binary_cat-stdout.txt -text -whitespace diff --git a/Tests/RunCMake/CommandLine/cmake_depends/.gitattributes b/Tests/RunCMake/CommandLine/cmake_depends/.gitattributes deleted file mode 100644 index 9c22288cd8..0000000000 --- a/Tests/RunCMake/CommandLine/cmake_depends/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -# Do not format a source encoded in UTF-16. -test_UTF-16LE.h -format.clang-format diff --git a/Tests/RunCMake/CommandLine/compare_files/.gitattributes b/Tests/RunCMake/CommandLine/compare_files/.gitattributes deleted file mode 100644 index d03da9680e..0000000000 --- a/Tests/RunCMake/CommandLine/compare_files/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -crlf -text -whitespace -lf -text diff --git a/Tests/RunCMake/GenerateExportHeader/reference/.gitattributes b/Tests/RunCMake/GenerateExportHeader/reference/.gitattributes deleted file mode 100644 index 883a7f16da..0000000000 --- a/Tests/RunCMake/GenerateExportHeader/reference/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -# Exclude reference content from formatting. -* -format.clang-format diff --git a/Tests/RunCMake/Syntax/.gitattributes b/Tests/RunCMake/Syntax/.gitattributes deleted file mode 100644 index 79af285847..0000000000 --- a/Tests/RunCMake/Syntax/.gitattributes +++ /dev/null @@ -1,3 +0,0 @@ -CommandTabs.cmake whitespace=-tab-in-indent -StringCRLF.cmake eol=crlf -BracketCRLF.cmake eol=crlf diff --git a/Tests/RunCMake/Syntax/BracketCRLF.cmake b/Tests/RunCMake/Syntax/BracketCRLF.cmake index 2ea6df2fd5..bda0e17efd 100644 --- a/Tests/RunCMake/Syntax/BracketCRLF.cmake +++ b/Tests/RunCMake/Syntax/BracketCRLF.cmake @@ -1,8 +1,8 @@ -if([[ -]] STREQUAL "" AND -[[a -b]] STREQUAL "a\nb") - message("CRLF->LF worked") -else() - message(FATAL_ERROR "CRLF->LF failed") -endif() +if([[
+]] STREQUAL "" AND
+[[a
+b]] STREQUAL "a\nb")
+ message("CRLF->LF worked")
+else()
+ message(FATAL_ERROR "CRLF->LF failed")
+endif()
diff --git a/Tests/RunCMake/Syntax/StringCRLF.cmake b/Tests/RunCMake/Syntax/StringCRLF.cmake index 14aad31a23..d20cfea7e4 100644 --- a/Tests/RunCMake/Syntax/StringCRLF.cmake +++ b/Tests/RunCMake/Syntax/StringCRLF.cmake @@ -1,6 +1,6 @@ -if("a -b" STREQUAL "a\nb") - message("CRLF->LF worked") -else() - message(FATAL_ERROR "CRLF->LF failed") -endif() +if("a
+b" STREQUAL "a\nb")
+ message("CRLF->LF worked")
+else()
+ message(FATAL_ERROR "CRLF->LF failed")
+endif()
|
