summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-10-23 19:27:12 (GMT)
committerBrad King <brad.king@kitware.com>2024-10-25 12:43:04 (GMT)
commit7605228f5e01866ffa96d18ac5b951f63165a6c9 (patch)
treef9b9b459577d16dc7913b27d3650674f569b71f5 /Tests
parentebd038613ebe3722afe78a1cd33c8de7d77075df (diff)
downloadCMake-7605228f5e01866ffa96d18ac5b951f63165a6c9.zip
CMake-7605228f5e01866ffa96d18ac5b951f63165a6c9.tar.gz
CMake-7605228f5e01866ffa96d18ac5b951f63165a6c9.tar.bz2
codespell: Fix typos
Diffstat (limited to 'Tests')
-rw-r--r--Tests/FortranModules/Submodules/obfuscated_parent.f904
-rw-r--r--Tests/RunCMake/CPack/DEB/Helpers.cmake2
-rw-r--r--Tests/RunCMake/CPack/README.txt2
-rw-r--r--Tests/RunCMake/ctest_labels_for_subprojects/CTestScriptVariableCommandLine-stderr.txt2
-rw-r--r--Tests/RunCMake/ctest_labels_for_subprojects/MyThirdPartyDependency/src/CMakeLists.txt8
-rw-r--r--Tests/RunCMake/ctest_labels_for_subprojects/MyThirdPartyDependency/src/third_party.c (renamed from Tests/RunCMake/ctest_labels_for_subprojects/MyThirdPartyDependency/src/thirdparty.c)0
6 files changed, 9 insertions, 9 deletions
diff --git a/Tests/FortranModules/Submodules/obfuscated_parent.f90 b/Tests/FortranModules/Submodules/obfuscated_parent.f90
index f3e68be..9368f16 100644
--- a/Tests/FortranModules/Submodules/obfuscated_parent.f90
+++ b/Tests/FortranModules/Submodules/obfuscated_parent.f90
@@ -1,8 +1,8 @@
! This module has two procedures from the "parent" module
! but it has different combinations 'module <word>' phrases
-! in breaked lines for test of modules dependencies detection
+! in broken lines for test of modules dependencies detection
-! Module declaration on breaked line with reminder
+! Module declaration on broken line with reminder
module &
obfuscated_parent; implicit none
diff --git a/Tests/RunCMake/CPack/DEB/Helpers.cmake b/Tests/RunCMake/CPack/DEB/Helpers.cmake
index 8904c69..39a316f 100644
--- a/Tests/RunCMake/CPack/DEB/Helpers.cmake
+++ b/Tests/RunCMake/CPack/DEB/Helpers.cmake
@@ -101,7 +101,7 @@ function(getMissingShlibsErrorExtra FILE RESULT_VAR)
string(APPEND error_extra "; readelf \"\n")
# Only dynamically linked ELF files are included
- # Extract only file name infront of ":"
+ # Extract only file name in front of ":"
foreach(_FILE IN LISTS deb_install_files)
if(_FILE MATCHES "ELF.*shared object")
string(REGEX MATCH "(^.*):" _FILE_NAME "${_FILE}")
diff --git a/Tests/RunCMake/CPack/README.txt b/Tests/RunCMake/CPack/README.txt
index d403db0..c63026e 100644
--- a/Tests/RunCMake/CPack/README.txt
+++ b/Tests/RunCMake/CPack/README.txt
@@ -173,7 +173,7 @@ This phase is executed if '<test_name>/VerifyResult.cmake' script exists.
VerifyResult.cmake script also automatically prints out standard output and
standard error from CPack execution phase that is compared with
'<test_name>/<generator_name>-stdout.txt' regular expression and
-'<test_name>/<generator_name>-stderr.txt' regular expresson respectively.
+'<test_name>/<generator_name>-stderr.txt' regular expression respectively.
NOTE: For subtests generator name can also be suffixed with subtest name and/or
packaging type (MONOLITHIC, COMPONENT, GROUP) and in such cases the
preferences of which file will be used are as follows:
diff --git a/Tests/RunCMake/ctest_labels_for_subprojects/CTestScriptVariableCommandLine-stderr.txt b/Tests/RunCMake/ctest_labels_for_subprojects/CTestScriptVariableCommandLine-stderr.txt
index 206ab21..e9327a3 100644
--- a/Tests/RunCMake/ctest_labels_for_subprojects/CTestScriptVariableCommandLine-stderr.txt
+++ b/Tests/RunCMake/ctest_labels_for_subprojects/CTestScriptVariableCommandLine-stderr.txt
@@ -1,2 +1,2 @@
Unable to find executable:.*MyThirdPartyDependency/src(/[^/
-]+)?/thirdparty
+]+)?/third_party
diff --git a/Tests/RunCMake/ctest_labels_for_subprojects/MyThirdPartyDependency/src/CMakeLists.txt b/Tests/RunCMake/ctest_labels_for_subprojects/MyThirdPartyDependency/src/CMakeLists.txt
index 2f57d55..6c86f76 100644
--- a/Tests/RunCMake/ctest_labels_for_subprojects/MyThirdPartyDependency/src/CMakeLists.txt
+++ b/Tests/RunCMake/ctest_labels_for_subprojects/MyThirdPartyDependency/src/CMakeLists.txt
@@ -3,8 +3,8 @@ project(MyThirdPartyDependency)
include(CTest)
-add_executable(thirdparty thirdparty.c)
-add_test(NAME thirdparty COMMAND thirdparty)
+add_executable(third_party third_party.c)
+add_test(NAME third_party COMMAND third_party)
-set_property(TARGET thirdparty PROPERTY LABELS NotASubproject)
-set_property(TEST thirdparty PROPERTY LABELS NotASubproject)
+set_property(TARGET third_party PROPERTY LABELS NotASubproject)
+set_property(TEST third_party PROPERTY LABELS NotASubproject)
diff --git a/Tests/RunCMake/ctest_labels_for_subprojects/MyThirdPartyDependency/src/thirdparty.c b/Tests/RunCMake/ctest_labels_for_subprojects/MyThirdPartyDependency/src/third_party.c
index 009162d..009162d 100644
--- a/Tests/RunCMake/ctest_labels_for_subprojects/MyThirdPartyDependency/src/thirdparty.c
+++ b/Tests/RunCMake/ctest_labels_for_subprojects/MyThirdPartyDependency/src/third_party.c