Skip to content

Commit 31c4cc5

Browse files
Andrew Boieandrewboie
authored andcommitted
tests: common: cover k_cycle_get_32() syscall
We had plenty of coverage for k_cycle_get(), but not its 32-bit variant. Run a case in user mode so that the system call handler gets covered. Signed-off-by: Andrew Boie <[email protected]>
1 parent aade2b5 commit 31c4cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/kernel/common/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ void test_main(void)
8282
ztest_unit_test(test_dlist),
8383
ztest_unit_test(test_intmath),
8484
ztest_unit_test(test_timeout_order),
85-
ztest_unit_test(test_clock_uptime),
85+
ztest_user_unit_test(test_clock_uptime),
8686
ztest_unit_test(test_clock_cycle),
8787
ztest_unit_test(test_version),
8888
ztest_unit_test(test_multilib),

0 commit comments

Comments
 (0)