diff --git a/tests/benchmarks/latency_measure/src/thread_switch_yield.c b/tests/benchmarks/latency_measure/src/thread_switch_yield.c index 078dec73829..d2cb78c154d 100644 --- a/tests/benchmarks/latency_measure/src/thread_switch_yield.c +++ b/tests/benchmarks/latency_measure/src/thread_switch_yield.c @@ -34,7 +34,7 @@ static struct k_thread y_thread; /** * - * @brief Helper thread for measuring thread switeh latency using yield + * @brief Helper thread for measuring thread switch latency using yield * * @return N/A */ diff --git a/tests/drivers/dma/chan_blen_transfer/src/test_dma.c b/tests/drivers/dma/chan_blen_transfer/src/test_dma.c index fb263a85a13..f5ff8f922e8 100644 --- a/tests/drivers/dma/chan_blen_transfer/src/test_dma.c +++ b/tests/drivers/dma/chan_blen_transfer/src/test_dma.c @@ -13,7 +13,7 @@ * - Test Steps * -# Set dma channel configuration including source/dest addr, burstlen * -# Set direction memory-to-memory - * -# Start transter + * -# Start transfer * - Expected Results * -# Data is transferred correctly from src to dest * @} diff --git a/tests/drivers/gpio/gpio_basic_api/src/test_callback_manage.c b/tests/drivers/gpio/gpio_basic_api/src/test_callback_manage.c index ed2398c896f..afbd6cb02ea 100644 --- a/tests/drivers/gpio/gpio_basic_api/src/test_callback_manage.c +++ b/tests/drivers/gpio/gpio_basic_api/src/test_callback_manage.c @@ -8,7 +8,7 @@ * @addtogroup t_gpio_basic_api * @{ * @defgroup t_gpio_callback_manage test_gpio_callback_manage - * @brief TestPurpose: verify zephyr gpio callback add/remvoe and enable/disable + * @brief TestPurpose: verify zephyr gpio callback add/remove and enable/disable * @} */ diff --git a/tests/kernel/context/src/context.c b/tests/kernel/context/src/context.c index 2d158448894..ab108cbdc54 100644 --- a/tests/kernel/context/src/context.c +++ b/tests/kernel/context/src/context.c @@ -343,8 +343,8 @@ static int test_kernel_interrupts(disable_int_func disable_int, * @brief Test some context routines from a preemptible thread * * This routines tests the k_current_get() and - * k_is_in_isr() routines from both a preemtible thread and an ISR (that - * interrupted a preemtible thread). Checking those routines with cooperative + * k_is_in_isr() routines from both a preemptible thread and an ISR (that + * interrupted a preemptible thread). Checking those routines with cooperative * threads are done elsewhere. * * @return TC_PASS on success @@ -467,7 +467,7 @@ static int test_kernel_thread(k_tid_t task_thread_id) * @brief Entry point to the thread's helper * * This routine is the entry point to the thread's helper thread. It is used to - * help test the behaviour of the k_yield() routine. + * help test the behavior of the k_yield() routine. * * @param arg1 unused * @param arg2 unused @@ -508,14 +508,14 @@ static void thread_helper(void *arg1, void *arg2, void *arg3) * @brief Test the k_yield() routine * * This routine tests the k_yield() routine. It starts another thread - * (thus also testing k_thread_create() and checks that behaviour of + * (thus also testing k_thread_create() and checks that behavior of * k_yield() against the cases of there being a higher priority thread, * a lower priority thread, and another thread of equal priority. * * On error, it may set to one of the following values: * 10 - helper thread ran prematurely * 11 - k_yield() did not yield to a higher priority thread - * 12 - k_yield() did not yield to an equal prioirty thread + * 12 - k_yield() did not yield to an equal priority thread * 13 - k_yield() yielded to a lower priority thread * * @return TC_PASS on success diff --git a/tests/kernel/mem_heap/mheap_api_concept/src/test_mheap_concept.c b/tests/kernel/mem_heap/mheap_api_concept/src/test_mheap_concept.c index c6f10b48c42..73d4da89acf 100644 --- a/tests/kernel/mem_heap/mheap_api_concept/src/test_mheap_concept.c +++ b/tests/kernel/mem_heap/mheap_api_concept/src/test_mheap_concept.c @@ -81,7 +81,7 @@ void test_mheap_block_desc(void) * TESTPOINT: The kernel uses the first 16 bytes of any memory block * allocated from the heap memory pool to save the block descriptor * information it needs to later free the block. Consequently, an - * application’s request for an N byte chunk of heap memory requires a + * application's request for an N byte chunk of heap memory requires a * block that is at least (N+16) bytes long. * Test steps: * initial memory heap status (F for free, U for used): diff --git a/tests/kernel/mem_pool/test_mpool_concept/src/test_mpool_alloc_wait.c b/tests/kernel/mem_pool/test_mpool_concept/src/test_mpool_alloc_wait.c index 54ac98e2f05..75db6123185 100644 --- a/tests/kernel/mem_pool/test_mpool_concept/src/test_mpool_alloc_wait.c +++ b/tests/kernel/mem_pool/test_mpool_concept/src/test_mpool_alloc_wait.c @@ -10,7 +10,7 @@ * @defgroup t_mpool_concept test_mpool_concept * @brief TestPurpose: verify memory pool concepts. * @details All TESTPOINTs extracted from kernel documentation. - * TESTPOINTs cover testable kernel behaviours that preserve across internal + * TESTPOINTs cover testable kernel behaviors that preserve across internal * implementation change or kernel version change. * As a black-box test, TESTPOINTs do not cover internal operations. * @@ -22,7 +22,7 @@ * memory block * - TESTPOINT: memory pool blocks can be recursively partitioned into quarters * until blocks of the minimum size are obtained - * - TESTPOINT: if a suitable block can’t be created, the allocation request + * - TESTPOINT: if a suitable block can't be created, the allocation request * fails * * TESTPOINTs related to kconfig are covered in kconfig test: diff --git a/tests/kernel/mem_slab/test_mslab/src/slab.c b/tests/kernel/mem_slab/test_mslab/src/slab.c index 341c72aed17..a91c3c588f3 100644 --- a/tests/kernel/mem_slab/test_mslab/src/slab.c +++ b/tests/kernel/mem_slab/test_mslab/src/slab.c @@ -218,7 +218,7 @@ int testSlabGetAllBlocks(void **p) /** * - * @brief Free all memeory blocks + * @brief Free all memory blocks * * This routine frees all memory blocks and also verifies that the number of * blocks used are correct. diff --git a/tests/kernel/mem_slab/test_mslab_concept/src/test_mslab_alloc_wait.c b/tests/kernel/mem_slab/test_mslab_concept/src/test_mslab_alloc_wait.c index defb93812d8..852a009c3d4 100644 --- a/tests/kernel/mem_slab/test_mslab_concept/src/test_mslab_alloc_wait.c +++ b/tests/kernel/mem_slab/test_mslab_concept/src/test_mslab_alloc_wait.c @@ -10,7 +10,7 @@ * @defgroup t_mslab_concept test_mslab_concept * @brief TestPurpose: verify memory slab concepts. * @details All TESTPOINTs extracted from kernel documentation. - * TESTPOINTs cover testable kernel behaviours that preserve across internal + * TESTPOINTs cover testable kernel behaviors that preserve across internal * implementation change or kernel version change. * As a black-box test, TESTPOINTs do not cover internal operations. * diff --git a/tests/kernel/mutex/mutex/src/mutex.c b/tests/kernel/mutex/mutex/src/mutex.c index 41e2566e692..ca4c90877eb 100644 --- a/tests/kernel/mutex/mutex/src/mutex.c +++ b/tests/kernel/mutex/mutex/src/mutex.c @@ -13,7 +13,7 @@ * A task that owns a mutex is promoted to the priority level of the * highest-priority task attempting to lock the mutex. * - * In addition, recusive locking capabilities and the use of a private mutex + * In addition, recursive locking capabilities and the use of a private mutex * are also tested. * * This module tests the following mutex routines: diff --git a/tests/kernel/pipe/test_pipe_api/src/test_pipe_fail.c b/tests/kernel/pipe/test_pipe_api/src/test_pipe_fail.c index e943a7edc9a..aeadb3dffff 100644 --- a/tests/kernel/pipe/test_pipe_api/src/test_pipe_fail.c +++ b/tests/kernel/pipe/test_pipe_api/src/test_pipe_fail.c @@ -8,7 +8,7 @@ * @addtogroup t_pipe_api * @{ * @defgroup t_pipe_fail_get_put test_pipe_fail_get_put - * @brief TestPurpose: verify zephyr pipe get/put under differnt condition + * @brief TestPurpose: verify zephyr pipe get/put under different condition * - API coverage * -# k_pipe_get [TIMEOUT K_NO_WAIT] * -# k_pipe_put [K_FOREVER TIMEOUT K_NO_WAIT] diff --git a/tests/kernel/static_idt/src/static_idt.c b/tests/kernel/static_idt/src/static_idt.c index dd52f800eb2..c404be7652e 100644 --- a/tests/kernel/static_idt/src/static_idt.c +++ b/tests/kernel/static_idt/src/static_idt.c @@ -63,7 +63,7 @@ void isr_handler(void) /** * - * This is the handler for the divde by zero exception. + * This is the handler for the divide by zero exception. * * The source of this divide-by-zero error comes from the following line in * main() ... diff --git a/tests/ztest/include/kernel_arch_thread.h b/tests/ztest/include/kernel_arch_thread.h index 8765dda21db..cd21574a85f 100644 --- a/tests/ztest/include/kernel_arch_thread.h +++ b/tests/ztest/include/kernel_arch_thread.h @@ -8,7 +8,7 @@ * @file * @brief Per-arch thread definition * - * This file contains defintions for + * This file contains definitions for * * struct _thread_arch * struct _callee_saved