Move tests/kernel/fifo/fifo_api/ to use new ztest API. Signed-off-by: Guo Lixin <lixinx.guo@intel.com>
29 lines
571 B
C
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);
|