Zephyr API Documentation  3.0.0
A Scalable Open Source RTOS
3.0.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ztest_test.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2016 Intel Corporation
3 * Copyright (c) 2021 Google LLC
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8#ifndef ZEPHYR_TESTSUITE_INCLUDE_ZTEST_TEST_H_
9#define ZEPHYR_TESTSUITE_INCLUDE_ZTEST_TEST_H_
10
11#ifdef CONFIG_ZTEST_NEW_API
12#include <ztest_test_new.h>
13#else
15#endif /* !CONFIG_ZTEST_NEW_API */
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21__syscall void z_test_1cpu_start(void);
22__syscall void z_test_1cpu_stop(void);
23
24#ifdef __cplusplus
25}
26#endif
27
28#ifndef ZTEST_UNITTEST
29#include <syscalls/ztest_test.h>
30#endif
31
32#endif /* ZEPHYR_TESTSUITE_INCLUDE_ZTEST_TEST_H_ */
Zephyr testing framework _test_deprecated.
Zephyr testing framework _test.