tests: drivers: i2s: Combined merged the test files into main
Since main was only registering the Test Suite, it made since to combine the actual tests into one file instead of having an empty file to initialize the test. Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
This commit is contained in:
parent
3ffc64a92d
commit
9b1b68657c
2 changed files with 6 additions and 16 deletions
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) 2017 comsuisse AG
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
extern void *test_i2s_speed_configure(void);
|
||||
extern void *test_i2s_speed_rxtx_configure(void);
|
||||
ZTEST_SUITE(drivers_i2s_speed, NULL, test_i2s_speed_configure, NULL, NULL, NULL);
|
||||
ZTEST_SUITE(drivers_i2s_speed_both_rxtx, NULL, test_i2s_speed_rxtx_configure, NULL, NULL, NULL);
|
|
@ -496,7 +496,7 @@ ZTEST(drivers_i2s_speed_both_rxtx, test_i2s_dir_both_transfer_long)
|
|||
zassert_equal(num_verified, NUM_BLOCKS, "Invalid RX blocks received");
|
||||
}
|
||||
|
||||
void *test_i2s_speed_configure(void)
|
||||
static void *test_i2s_speed_configure(void)
|
||||
{
|
||||
/* Configure I2S TX transfer. */
|
||||
int ret;
|
||||
|
@ -519,7 +519,7 @@ void *test_i2s_speed_configure(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void *test_i2s_speed_rxtx_configure(void)
|
||||
static void *test_i2s_speed_rxtx_configure(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
@ -545,3 +545,7 @@ void *test_i2s_speed_rxtx_configure(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
ZTEST_SUITE(drivers_i2s_speed, NULL, test_i2s_speed_configure, NULL, NULL, NULL);
|
||||
ZTEST_SUITE(drivers_i2s_speed_both_rxtx, NULL, test_i2s_speed_rxtx_configure, NULL, NULL, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue