test: fix more legacy #include paths
Add a bunch of missing "zephyr/" prefixes to #include statements in various test and test framework files. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
parent
63c2347207
commit
def230187b
758 changed files with 867 additions and 867 deletions
|
@ -1,4 +1,4 @@
|
|||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
static void expect_two_parameters(int a, int b)
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef MODULES_FFF_TEST_INCLUDE_C_TEST_FRAMEWORK_H_
|
||||
#define MODULES_FFF_TEST_INCLUDE_C_TEST_FRAMEWORK_H_
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
|
||||
void setup(void);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
|
||||
ZTEST_SUITE(framework_tests, NULL, NULL, NULL, NULL, NULL);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
ZTEST_SUITE(test_pytest, NULL, NULL, NULL, NULL, NULL);
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include <zephyr/drivers/entropy.h>
|
||||
#include <zephyr/drivers/counter.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include "busy_sim.h"
|
||||
#include <zephyr/busy_sim.h>
|
||||
#include <zephyr/sys/ring_buffer.h>
|
||||
#include <zephyr/random/rand32.h>
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#ifndef __TEST_UTILS_H__
|
||||
#define __TEST_UTILS_H__
|
||||
|
||||
#include <tc_util.h>
|
||||
#include <zephyr/tc_util.h>
|
||||
#include <tinycrypt/constants.h>
|
||||
|
||||
static inline void show_str(const char *label, const uint8_t *s, size_t len)
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
|
||||
#include <limits.h>
|
||||
#if defined(__GNUC__)
|
||||
#include <test_asm_inline_gcc.h>
|
||||
#include <zephyr/test_asm_inline_gcc.h>
|
||||
#else
|
||||
#include <test_asm_inline_other.h>
|
||||
#include <zephyr/test_asm_inline_other.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -58,10 +58,10 @@ typedef struct esf z_arch_esf_t;
|
|||
|
||||
#include <zephyr/zephyr.h>
|
||||
|
||||
#include <ztest_assert.h>
|
||||
#include <ztest_mock.h>
|
||||
#include <ztest_test.h>
|
||||
#include <tc_util.h>
|
||||
#include <zephyr/ztest_assert.h>
|
||||
#include <zephyr/ztest_mock.h>
|
||||
#include <zephyr/ztest_test.h>
|
||||
#include <zephyr/tc_util.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
#define ZEPHYR_TESTSUITE_INCLUDE_ZTEST_TEST_H_
|
||||
|
||||
#ifdef CONFIG_ZTEST_NEW_API
|
||||
#include <ztest_test_new.h>
|
||||
#include <zephyr/ztest_test_new.h>
|
||||
#else
|
||||
#include <ztest_test_deprecated.h>
|
||||
#include <zephyr/ztest_test_deprecated.h>
|
||||
#endif /* !CONFIG_ZTEST_NEW_API */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
/**
|
||||
* @brief Try to shorten a filename by removing the current directory
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
|
||||
#if defined(CONFIG_ZTEST_FATAL_HOOK)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
#include <zephyr/app_memory/app_memdomain.h>
|
||||
#ifdef CONFIG_USERSPACE
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
#include <unistd.h>
|
||||
#include "cmdline.h" /* native_posix command line options header */
|
||||
#include "soc.h"
|
||||
#include "tc_util.h"
|
||||
#include "ztest_test_new.h"
|
||||
#include <zephyr/tc_util.h>
|
||||
#include <zephyr/ztest_test_new.h>
|
||||
|
||||
static const char *test_args;
|
||||
static bool list_tests;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
#ifdef CONFIG_ZTEST_RULE_1CPU
|
||||
static void one_cpu_rule_before_each(const struct ztest_unit_test *test, void *data)
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#include <ztress.h>
|
||||
#include <ztest_test.h>
|
||||
#include <zephyr/ztress.h>
|
||||
#include <zephyr/ztest_test.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/random/rand32.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
/* This function will allow execute from sram region.
|
||||
* This is needed only for this sample because by default all soc will
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
uint32_t var_sram2_data = 10U;
|
||||
uint32_t var_sram2_bss;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
void function_in_sram(int32_t value)
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
uint32_t var_file3_sram_data = 10U;
|
||||
uint32_t var_file3_sram2_bss;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include <string.h>
|
||||
#include <zephyr/types.h>
|
||||
#include <stdbool.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
/* Don't confuse doxygen with missing files */
|
||||
/**
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/sys/reboot.h>
|
||||
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
|
||||
#include <ztest.h>
|
||||
#include <tc_util.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/tc_util.h>
|
||||
|
||||
static volatile int expected_reason = -1;
|
||||
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
ZTEST_SUITE(arm_hardfault_validation, NULL, NULL, NULL, NULL, NULL);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/arch/cpu.h>
|
||||
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
|
||||
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
ZTEST_SUITE(arm_interrupt, NULL, NULL, NULL, NULL, NULL);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/arch/cpu.h>
|
||||
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/arch/cpu.h>
|
||||
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/arch/cpu.h>
|
||||
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
|
||||
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
ZTEST_SUITE(arm_irq_advanced_features, NULL, NULL, NULL, NULL, NULL);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/arch/cpu.h>
|
||||
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
|
||||
#include <zephyr/linker/sections.h>
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
#error project can only run on Cortex-M
|
||||
#endif
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
ZTEST_SUITE(vector_table, NULL, NULL, NULL, NULL, NULL);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/arch/cpu.h>
|
||||
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <zephyr/syscall_handler.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
ZTEST_BMEM char user_stack[256];
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/linker/linker-defs.h>
|
||||
#include <zephyr/syscall_handler.h>
|
||||
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
#error test can only run on Cortex-M MCUs
|
||||
#endif
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
ZTEST_SUITE(arm_ramfunc, NULL, NULL, NULL, NULL, NULL);
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/sys/reboot.h>
|
||||
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
|
||||
#include <ztest.h>
|
||||
#include <tc_util.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/tc_util.h>
|
||||
|
||||
/* on v8m arch the nmi pend bit is renamed to pend nmi map it to old name */
|
||||
#ifndef SCB_ICSR_NMIPENDSET_Msk
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
ZTEST_SUITE(arm_runtime_nmi_fn, NULL, NULL, NULL, NULL, NULL);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/linker/linker-defs.h>
|
||||
#include <zephyr/syscall_handler.h>
|
||||
#include <zephyr/toolchain.h>
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
#error test can only run on Cortex-M MCUs
|
||||
#endif
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
ZTEST_SUITE(arm_sw_vector_relay, NULL, NULL, NULL, NULL, NULL);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/arch/cpu.h>
|
||||
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
|
||||
#include <zephyr/kernel_structs.h>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/arch/cpu.h>
|
||||
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
|
||||
#include <zephyr/kernel_structs.h>
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
ZTEST_SUITE(arm_thread_swap, NULL, NULL, NULL, NULL, NULL);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <psa/crypto.h>
|
||||
#include <zephyr/kernel.h>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <aarch32/cortex_m/tz_ns.h>
|
||||
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/interrupt_controller/gicv3_its.h>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
ZTEST_USER(arm64_high_addresses, test_arm64_high_addresses)
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/drivers/pm_cpu_ops/psci.h>
|
||||
#include <zephyr/drivers/pm_cpu_ops.h>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/arch/common/semihost.h>
|
||||
|
||||
ZTEST(semihost, test_file_ops)
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <zephyr/syscall_handler.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "test_syscalls.h"
|
||||
|
||||
#define DB_VAL 0xDEADBEEF
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include "interrupt_util.h"
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/interrupt_util.h>
|
||||
|
||||
/*
|
||||
* Other arch has already been tested in testcase of gen_isr_table,
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <ztest.h>
|
||||
#include <tc_util.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/tc_util.h>
|
||||
|
||||
#include <kernel_internal.h>
|
||||
#if defined(__GNUC__)
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <ztest.h>
|
||||
#include <tc_util.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/tc_util.h>
|
||||
#include <zephyr/arch/x86/mmustructs.h>
|
||||
#include <x86_mmu.h>
|
||||
#include <zephyr/linker/linker-defs.h>
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <ztest.h>
|
||||
#include <tc_util.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/tc_util.h>
|
||||
#include <zephyr/arch/x86/ia32/segmentation.h>
|
||||
|
||||
#include <kernel_internal.h>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* _R : Is a file that contains the receiver task
|
||||
* of a benchmark function
|
||||
*/
|
||||
#include <tc_util.h>
|
||||
#include <zephyr/tc_util.h>
|
||||
#include "master.h"
|
||||
|
||||
char msg[MAX_MSG];
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#include "receiver.h"
|
||||
|
||||
#include <timestamp.h>
|
||||
#include <zephyr/timestamp.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <stdlib.h>
|
||||
#include <arm_math.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <stdlib.h>
|
||||
#include <arm_math.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <stdlib.h>
|
||||
#include <arm_math.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <stdlib.h>
|
||||
#include <arm_math.h>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef ZEPHYR_BENCHMARK_CMSIS_DSP_COMMON_BENCHMARK_COMMON_H_
|
||||
#define ZEPHYR_BENCHMARK_CMSIS_DSP_COMMON_BENCHMARK_COMMON_H_
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
|
||||
#if defined(CONFIG_CPU_CORTEX_M_HAS_DWT)
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* @defgroup lib_dlist_tests Dlist
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/sys/dlist.h>
|
||||
|
||||
#define NODE_SIZE 5
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/sys/rb.h>
|
||||
|
||||
#define TREE_SIZE 512
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
* This file contains the main testing module that invokes all the tests.
|
||||
*/
|
||||
|
||||
#include <timestamp.h>
|
||||
#include <zephyr/timestamp.h>
|
||||
#include "utils.h"
|
||||
#include <tc_util.h>
|
||||
#include <zephyr/tc_util.h>
|
||||
|
||||
#define STACK_SIZE (1024 + CONFIG_TEST_EXTRA_STACK_SIZE)
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <zephyr/zephyr.h>
|
||||
#include <zephyr/timing/timing.h>
|
||||
#include <stdlib.h>
|
||||
#include "timestamp.h"
|
||||
#include <zephyr/timestamp.h>
|
||||
#include "utils.h" /* PRINT () and other macros */
|
||||
|
||||
/* context switch enough time so our measurement is precise */
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <zephyr/timing/timing.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <stdio.h>
|
||||
#include "timestamp.h"
|
||||
#include <zephyr/timestamp.h>
|
||||
|
||||
#define INT_IMM8_OFFSET 1
|
||||
#define IRQ_PRIORITY 3
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <tc_util.h>
|
||||
#include <zephyr/tc_util.h>
|
||||
|
||||
#include "syskernel.h"
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#ifndef SYSKERNEK_H
|
||||
#define SYSKERNEK_H
|
||||
|
||||
#include <timestamp.h>
|
||||
#include <zephyr/timestamp.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <zephyr/toolchain.h>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
#define DEVICE_NAME CONFIG_BT_DEVICE_NAME
|
||||
#define DEVICE_NAME_LEN (sizeof(DEVICE_NAME) - 1)
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include "subsys/bluetooth/host/at.h"
|
||||
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
static struct at_client at;
|
||||
static char buffer[140];
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
#include <zephyr/zephyr.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <tc_util.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/tc_util.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
#include <zephyr/drivers/bluetooth/hci_driver.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "kconfig.h"
|
||||
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "kconfig.h"
|
||||
|
||||
#define ULL_LLCP_UNITTEST
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "kconfig.h"
|
||||
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "kconfig.h"
|
||||
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "kconfig.h"
|
||||
|
||||
#define ULL_LLCP_UNITTEST
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
#define ULL_LLCP_UNITTEST
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "kconfig.h"
|
||||
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <zephyr/types.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
#define ULL_LLCP_UNITTEST
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "kconfig.h"
|
||||
|
||||
#define ULL_LLCP_UNITTEST
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <zephyr/types.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "kconfig.h"
|
||||
|
||||
#define ULL_LLCP_UNITTEST
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <zephyr/types.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "kconfig.h"
|
||||
|
||||
#define ULL_LLCP_UNITTEST
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <zephyr/types.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "kconfig.h"
|
||||
|
||||
#define ULL_LLCP_UNITTEST
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "kconfig.h"
|
||||
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "kconfig.h"
|
||||
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "kconfig.h"
|
||||
|
||||
#define ULL_LLCP_UNITTEST
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "kconfig.h"
|
||||
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "kconfig.h"
|
||||
|
||||
#define ULL_LLCP_UNITTEST
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "kconfig.h"
|
||||
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
bool k_is_in_isr(void)
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "kconfig.h"
|
||||
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include "kconfig.h"
|
||||
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <ztest_error_hook.h>
|
||||
#include <zephyr/ztest.h>
|
||||
#include <zephyr/ztest_error_hook.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <zephyr/types.h>
|
||||
#include <stddef.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <zephyr/types.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <zephyr/types.h>
|
||||
#include <stddef.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <stddef.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <stddef.h>
|
||||
#include <ztest.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
#include <util/util.h>
|
||||
#include <util/memq.h>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue