From 1fc52b3b94e6c88b3321d6b44753c6ee7324d96a Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Fri, 12 Jun 2020 12:43:00 +0200 Subject: [PATCH] tools and contrib spelling mistakes --- CMakeLists.txt | 2 +- contrib/benchmarking_code_block/Rdhist.R | 2 +- tools/cmake/DefinePackages.cmake | 2 +- tools/cmake/Flags.cmake | 2 +- tools/git-hooks/clang-format.pre-commit | 2 +- tools/internal/eclipse-formating.xml | 2 +- tools/simgrid_convert_TI_traces.py | 2 +- tools/tesh/IO-bigsize.tesh | 4 ++-- tools/tesh/set-output-sort.tesh | 2 +- tools/tesh/tesh.py | 4 ++-- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b48876c38..503c71b38e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -179,7 +179,7 @@ if(WIN32) unset(CMAKE_INCLUDE_WIN) endif() -# library dependency cannot start with a space (CMP0004), so initialize it with something that is never desactivated. +# library dependency cannot start with a space (CMP0004), so initialize it with something that is never deactivated. set(SIMGRID_DEP "-lm") ### Determine the assembly flavor that we need today diff --git a/contrib/benchmarking_code_block/Rdhist.R b/contrib/benchmarking_code_block/Rdhist.R index ac5baa1404..502a6f861a 100644 --- a/contrib/benchmarking_code_block/Rdhist.R +++ b/contrib/benchmarking_code_block/Rdhist.R @@ -176,7 +176,7 @@ create.base.plot <- function() { ##' ##' Used to add raw data or summary statistics to the plot of a distribution. ##' The height of Y is arbitrary, and can be set to optimize visualization. -##' If SE estimates are available, tehse wil be plotted +##' If SE estimates are available, these will be plotted ##' @name plot.data ##' @title Add data to plot ##' @param trait.data data to be plotted diff --git a/tools/cmake/DefinePackages.cmake b/tools/cmake/DefinePackages.cmake index 8faa9a6cf7..f97b443bdd 100644 --- a/tools/cmake/DefinePackages.cmake +++ b/tools/cmake/DefinePackages.cmake @@ -799,7 +799,7 @@ set(source_of_generated_headers src/internal_config.h.in include/smpi/mpif.h.in) -### depend of some variables setted upper +### depend of some variables set upper if(${HAVE_UCONTEXT_CONTEXTS}) #ucontext set(SIMIX_SRC ${SIMIX_SRC} src/kernel/context/ContextUnix.hpp src/kernel/context/ContextUnix.cpp) diff --git a/tools/cmake/Flags.cmake b/tools/cmake/Flags.cmake index 7b116d8d36..4cf24372c2 100644 --- a/tools/cmake/Flags.cmake +++ b/tools/cmake/Flags.cmake @@ -198,7 +198,7 @@ endif() set(CMAKE_C_FLAGS "${warnCFLAGS} ${CMAKE_C_FLAGS} ${optCFLAGS}") set(CMAKE_CXX_FLAGS "${warnCXXFLAGS} ${CMAKE_CXX_FLAGS} ${optCFLAGS}") -# Try to make Mac a bit more complient to open source standards +# Try to make Mac a bit more compliant to open source standards if(CMAKE_SYSTEM_NAME MATCHES "Darwin") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_XOPEN_SOURCE=700 -D_DARWIN_C_SOURCE") endif() diff --git a/tools/git-hooks/clang-format.pre-commit b/tools/git-hooks/clang-format.pre-commit index c3e404b63b..ccaa385004 100755 --- a/tools/git-hooks/clang-format.pre-commit +++ b/tools/git-hooks/clang-format.pre-commit @@ -198,7 +198,7 @@ printf "\nThe following differences were found between the code to commit " printf "and the clang-format rules:\n\n" cat "${patch}" -printf "\nYou can apply these changes and readd the files with:\n" +printf "\nYou can apply these changes and read the files with:\n" printf " git apply ${patch} && git apply --cached ${patch}\n" printf "(call this command from the root directory of your repository)\n" printf "\n\n\n" diff --git a/tools/internal/eclipse-formating.xml b/tools/internal/eclipse-formating.xml index 330a41ccef..7ce4add88f 100644 --- a/tools/internal/eclipse-formating.xml +++ b/tools/internal/eclipse-formating.xml @@ -1,6 +1,6 @@ - diff --git a/tools/simgrid_convert_TI_traces.py b/tools/simgrid_convert_TI_traces.py index 995d3288b6..d3425f8f90 100755 --- a/tools/simgrid_convert_TI_traces.py +++ b/tools/simgrid_convert_TI_traces.py @@ -10,7 +10,7 @@ IRecv call arbitrarily. This new that includes tags field that links MPI_wait calls to the MPI_ISend or MPI_IRecv associated to this wait. -This script reproduce the old behavior of simgrid because informations are +This script reproduce the old behavior of simgrid because information are missing to add the tags properly. It also lower case all the mpi calls. It takes in input (as argument or in stdin) the trace list file that is only a diff --git a/tools/tesh/IO-bigsize.tesh b/tools/tesh/IO-bigsize.tesh index 926f53c028..a6711cb442 100644 --- a/tools/tesh/IO-bigsize.tesh +++ b/tools/tesh/IO-bigsize.tesh @@ -1,9 +1,9 @@ #!/usr/bin/env tesh # This suite contains two tests: -# The first one uses a very big input (150k) to check whether trucated input do work. +# The first one uses a very big input (150k) to check whether truncated input do work. # The second one uses both a big input and a big output (150k each). # -# This checks whether the non-blocking I/O mess is functionnal. +# This checks whether the non-blocking I/O mess is functional. # p First, a write test diff --git a/tools/tesh/set-output-sort.tesh b/tools/tesh/set-output-sort.tesh index cfff84a4d4..e560f56b0f 100644 --- a/tools/tesh/set-output-sort.tesh +++ b/tools/tesh/set-output-sort.tesh @@ -71,7 +71,7 @@ p This tests whether TESH correctly sorts command output < > c < > d $ ${bindir:=.}/tesh --ignore-jenkins -> Ignore all cruft seen on SimGrid's continous integration servers +> Ignore all cruft seen on SimGrid's continuous integration servers > Test suite from stdin > [(stdin):1] Test sorting and filtering of output > [(stdin):3] true diff --git a/tools/tesh/tesh.py b/tools/tesh/tesh.py index 3abc35ab66..4996630b23 100755 --- a/tools/tesh/tesh.py +++ b/tools/tesh/tesh.py @@ -531,7 +531,7 @@ if __name__ == '__main__': group1.add_argument( '--ignore-jenkins', action='store_true', - help='ignore all cruft generated on SimGrid continous integration servers') + help='ignore all cruft generated on SimGrid continuous integration servers') group1.add_argument('--wrapper', metavar='arg', help='Run each command in the provided wrapper (eg valgrind)') group1.add_argument( '--keep', @@ -545,7 +545,7 @@ if __name__ == '__main__': os.chdir(options.cd) if options.ignore_jenkins: - print("Ignore all cruft seen on SimGrid's continous integration servers") + print("Ignore all cruft seen on SimGrid's continuous integration servers") # Note: regexps should match at the beginning of lines TeshState().ignore_regexps_common = [ re.compile(r"profiling:"), -- 2.20.1