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
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue