Skip to content

Commit

Permalink
tests: kernel: add missing test call argument
Browse files Browse the repository at this point in the history
Add missing param argument.

Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif committed Aug 24, 2024
1 parent c0f8658 commit 376085c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions subsys/testsuite/ztest/include/zephyr/ztest_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -584,9 +584,10 @@ void ztest_simple_1cpu_after(void *data);
* @param shuffle Shuffle tests
* @param suite_iter Test suite repetitions.
* @param case_iter Test case repetitions.
* @param param Test parameter
*/
#define ztest_run_test_suite(suite, shuffle, suite_iter, case_iter) \
z_ztest_run_test_suite(STRINGIFY(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, param)

/**
* @brief Structure for architecture specific APIs
Expand Down
4 changes: 2 additions & 2 deletions tests/kernel/timer/timer_behavior/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

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
ztest_run_test_suite(timer_tick_train, false, 1, 1);
ztest_run_test_suite(timer_tick_train, false, 1, 1, NULL);
#endif
}

0 comments on commit 376085c

Please sign in to comment.