zephyr/tests/kernel/fifo/fifo_api/src/main.c
Guo Lixin 0f9050544a tests: kernel: fifo_api: move to new ztest API
Move tests/kernel/fifo/fifo_api/ to use new ztest API.

Signed-off-by: Guo Lixin <lixinx.guo@intel.com>
2022-07-08 12:04:21 +02:00

29 lines
571 B
C

/*
* Copyright (c) 2016 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @brief Tests for the FIFO kernel object
*
* Verify zephyr fifo apis under different context
*
* - API coverage
* -# k_fifo_init K_FIFO_DEFINE
* -# k_fifo_put k_fifo_put_list k_fifo_put_slist
* -# k_fifo_get *
*
* @defgroup kernel_fifo_tests FIFOs
* @ingroup all_tests
* @{
* @}
*/
#include <ztest.h>
ZTEST_SUITE(fifo_api, NULL, NULL, NULL, NULL, NULL);
ZTEST_SUITE(fifo_api_1cpu, NULL, NULL,
ztest_simple_1cpu_before, ztest_simple_1cpu_after, NULL);