Skip to content

Commit 8b82172

Browse files
Zhiqiang-Houfabioestevam
authored andcommitted
test: cpu: add test for release CPU core.
Add test for API cpu_release_core(). Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org>
1 parent 3694edc commit 8b82172

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/dm/cpu.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ static int dm_test_cpu(struct unit_test_state *uts)
4343
ut_assertok(cpu_get_vendor(dev, text, sizeof(text)));
4444
ut_assertok(strcmp(text, "Languid Example Garbage Inc."));
4545

46+
ut_assertok(cpu_release_core(dev, 0));
47+
4648
return 0;
4749
}
4850

0 commit comments

Comments
 (0)