Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kernel: k_cpu_idle/atomic_idle() not tested for tick-less kernel #23617

Closed
ioannisg opened this issue Mar 19, 2020 · 1 comment · Fixed by #23652
Closed

kernel: k_cpu_idle/atomic_idle() not tested for tick-less kernel #23617

ioannisg opened this issue Mar 19, 2020 · 1 comment · Fixed by #23652
Labels
area: Kernel area: Power Management area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug

Comments

@ioannisg
Copy link
Member

Describe the bug
The kernel CPU idle-ing APIs are not test-covered when kernel runs in tick-less mode.

To Reproduce
From tests/kernel/context:

#if defined(CONFIG_TICKLESS_KERNEL)
static void test_kernel_cpu_idle(void)
{
	ztest_test_skip();
}
static void test_kernel_cpu_idle_atomic(void)
{
	ztest_test_skip();
}

Impact
The API is used in the idle thread so it should be tested for tick-less kernels.

@ioannisg ioannisg added the bug The issue is a bug, or the PR is fixing a bug label Mar 19, 2020
@ioannisg
Copy link
Member Author

CC @andyross @andrewboie

@stephanosio stephanosio added area: Kernel area: Power Management area: Tests Issues related to a particular existing or missing test labels Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Kernel area: Power Management area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants