tests: kernel: add missing test call argument
Add missing param argument. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
c0f8658254
commit
376085c9ed
2 changed files with 5 additions and 4 deletions
|
@ -584,9 +584,10 @@ void ztest_simple_1cpu_after(void *data);
|
||||||
* @param shuffle Shuffle tests
|
* @param shuffle Shuffle tests
|
||||||
* @param suite_iter Test suite repetitions.
|
* @param suite_iter Test suite repetitions.
|
||||||
* @param case_iter Test case repetitions.
|
* @param case_iter Test case repetitions.
|
||||||
|
* @param param Test parameter
|
||||||
*/
|
*/
|
||||||
#define ztest_run_test_suite(suite, shuffle, suite_iter, case_iter) \
|
#define ztest_run_test_suite(suite, shuffle, suite_iter, case_iter, param) \
|
||||||
z_ztest_run_test_suite(STRINGIFY(suite), shuffle, suite_iter, case_iter)
|
z_ztest_run_test_suite(STRINGIFY(suite), shuffle, suite_iter, case_iter, param)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Structure for architecture specific APIs
|
* @brief Structure for architecture specific APIs
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
|
|
||||||
void test_main(void)
|
void test_main(void)
|
||||||
{
|
{
|
||||||
ztest_run_test_suite(timer_jitter_drift, false, 1, 1);
|
ztest_run_test_suite(timer_jitter_drift, false, 1, 1, NULL);
|
||||||
#ifndef CONFIG_TIMER_EXTERNAL_TEST
|
#ifndef CONFIG_TIMER_EXTERNAL_TEST
|
||||||
ztest_run_test_suite(timer_tick_train, false, 1, 1);
|
ztest_run_test_suite(timer_tick_train, false, 1, 1, NULL);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue