tests: Fix typos in comments and help message (found by codespell)

Fix also a grammar issue.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20180713054755.23323-1-sw@weilnetz.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
Stefan Weil 2018-07-13 07:47:55 +02:00 committed by Laurent Vivier
parent 7e63bc38ad
commit e50a61219f
8 changed files with 9 additions and 9 deletions

View File

@ -390,7 +390,7 @@ try_again:
if (g_file_test(aml_file, G_FILE_TEST_EXISTS)) { if (g_file_test(aml_file, G_FILE_TEST_EXISTS)) {
exp_sdt.aml_file = aml_file; exp_sdt.aml_file = aml_file;
} else if (*ext != '\0') { } else if (*ext != '\0') {
/* try fallback to generic (extention less) expected file */ /* try fallback to generic (extension less) expected file */
ext = ""; ext = "";
g_free(aml_file); g_free(aml_file);
goto try_again; goto try_again;

View File

@ -41,7 +41,7 @@ docker-qemu-src: $(DOCKER_SRC_COPY)
docker-image: ${DOCKER_TARGETS} docker-image: ${DOCKER_TARGETS}
# General rule for building docker images. If we are a sub-make # General rule for building docker images. If we are a sub-make
# invoked with SKIP_DOCKER_BUILD we still check the image is upto date # invoked with SKIP_DOCKER_BUILD we still check the image is up to date
# though # though
ifdef SKIP_DOCKER_BUILD ifdef SKIP_DOCKER_BUILD
docker-image-%: $(DOCKER_FILES_DIR)/%.docker docker-image-%: $(DOCKER_FILES_DIR)/%.docker

View File

@ -97,7 +97,7 @@ def _get_so_libs(executable):
return libs return libs
def _copy_binary_with_libs(src, dest_dir): def _copy_binary_with_libs(src, dest_dir):
"""Copy a binary executable and all its dependant libraries. """Copy a binary executable and all its dependent libraries.
This does rely on the host file-system being fairly multi-arch This does rely on the host file-system being fairly multi-arch
aware so the file don't clash with the guests layout.""" aware so the file don't clash with the guests layout."""
@ -284,7 +284,7 @@ class SubCommand(object):
name = None # Subcommand name name = None # Subcommand name
def shared_args(self, parser): def shared_args(self, parser):
parser.add_argument("--quiet", action="store_true", parser.add_argument("--quiet", action="store_true",
help="Run quietly unless an error occured") help="Run quietly unless an error occurred")
def args(self, parser): def args(self, parser):
"""Setup argument parser""" """Setup argument parser"""

View File

@ -122,7 +122,7 @@ class CatchBreakpoint(gdb.Breakpoint):
def run_test(): def run_test():
"Run throught the tests one by one" "Run through the tests one by one"
print ("Checking we can step the first few instructions") print ("Checking we can step the first few instructions")
step_ok = 0 step_ok = 0

View File

@ -257,7 +257,7 @@ function _launch_qemu()
} }
# Silenty kills the QEMU process # Silently kills the QEMU process
# #
# If $wait is set to anything other than the empty string, the process will not # If $wait is set to anything other than the empty string, the process will not
# be killed but only waited for, and any output will be forwarded to stdout. If # be killed but only waited for, and any output will be forwarded to stdout. If

View File

@ -2,7 +2,7 @@
# #
# TCG tests (per-target rules) # TCG tests (per-target rules)
# #
# This Makefile fragement is included from the per-target # This Makefile fragment is included from the per-target
# Makefile.target so will be invoked for each linux-user program we # Makefile.target so will be invoked for each linux-user program we
# build. We have two options for compiling, either using a configured # build. We have two options for compiling, either using a configured
# guest compiler or calling one of our docker images to do it for us. # guest compiler or calling one of our docker images to do it for us.

View File

@ -2,7 +2,7 @@
# #
# TCG Compiler Probe # TCG Compiler Probe
# #
# This Makefile fragement is included multiple times in the main make # This Makefile fragment is included multiple times in the main make
# script to probe for available compilers. This is used to build up a # script to probe for available compilers. This is used to build up a
# selection of required docker targets before we invoke a sub-make for # selection of required docker targets before we invoke a sub-make for
# each target. # each target.

View File

@ -24,7 +24,7 @@ int main(void)
rt = 0x123456789ABCDEF1; rt = 0x123456789ABCDEF1;
rs = 0x123456789ABCDEF2; rs = 0x123456789ABCDEF2;
result = 0x0000000000000001; result = 0x0000000000000001;
/* This time we do not set dspctrl, but it setted in pre-action. */ /* This time we do not set dspctrl, but set it in pre-action. */
dspresult = 0x1; dspresult = 0x1;
__asm __asm