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:
Fabio Baltieri 2022-07-19 14:16:24 +00:00 committed by Fabio Baltieri
commit def230187b
758 changed files with 867 additions and 867 deletions

View file

@ -6,7 +6,7 @@
#define CONFIG_CBPRINTF_LIBC_SUBSTS 1
#include <ztest.h>
#include <zephyr/ztest.h>
#include <float.h>
#include <limits.h>
#include <math.h>

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <zephyr/sys/crc.h>
#include "../../../lib/os/crc8_sw.c"
#include "../../../lib/os/crc16_sw.c"

View file

@ -5,7 +5,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <ztest.h>
#include <zephyr/ztest.h>
/* Built-time math test. Zephyr code depends on a standard C ABI with
* 2's complement signed math. As this isn't technically guaranteed

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <zephyr/sys/dlist.h>
static sys_dlist_t test_list;

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <ztest.h>
#include <zephyr/ztest.h>
extern void test_slist(void);
extern void test_sflist(void);

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <zephyr/sys/sflist.h>
static sys_sflist_t test_list;

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <zephyr/sys/slist.h>
static sys_slist_t test_list;

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <zephyr/sys/math_extras.h>
#include <inttypes.h>

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <string.h>
#include <inttypes.h>
#include <zephyr/net/net_timeout.h>

View file

@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <zephyr/sys/rb.h>
#include "../../../lib/os/rb.c"

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include "timeutil_test.h"
#include "../../../lib/os/timeutil.c"

View file

@ -7,7 +7,7 @@
/* Tests that gmtime matches gmtime_r */
#include <string.h>
#include <ztest.h>
#include <zephyr/ztest.h>
#include "timeutil_test.h"
void test_gmtime(void)

View file

@ -6,7 +6,7 @@
/* Tests where time_t is a 32-bit value */
#include <ztest.h>
#include <zephyr/ztest.h>
#include "timeutil_test.h"
static const struct timeutil_test_data tests[] = {

View file

@ -7,7 +7,7 @@
/* Tests where time_t requires a 64-bit value */
#include <errno.h>
#include <ztest.h>
#include <zephyr/ztest.h>
#include "timeutil_test.h"
static const struct timeutil_test_data tests[] = {

View file

@ -7,7 +7,7 @@
/* Tests for the time_sync data structures */
#include <string.h>
#include <ztest.h>
#include <zephyr/ztest.h>
#include "timeutil_test.h"
static const struct timeutil_sync_config cfg1 = {

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <zephyr/sys/util.h>
#include <string.h>

View file

@ -2,7 +2,7 @@
* Copyright (c) 2021 Intel Corporation
* SPDX-License-Identifier: Apache-2.0
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <zephyr/sys/winstream.h>
/* This, uh, seems to be the standard way to unit test library code.