commit | 42d78368d2aafc025eea2e4111c4d9eff4d91ed2 | [log] [tgz] |
---|---|---|
author | Hou Zhiqiang <Zhiqiang.Hou@nxp.com> | Thu Aug 01 11:59:49 2024 +0800 |
committer | Fabio Estevam <festevam@gmail.com> | Fri Aug 02 15:16:51 2024 -0300 |
tree | 70758e98086d9677b47edb1f7005ee2141ae8e8f | |
parent | 4274452a315130ca12f2a66c1794bd96bc71b5f7 [diff] [blame] |
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>
diff --git a/test/dm/cpu.c b/test/dm/cpu.c index acba810..8af2531 100644 --- a/test/dm/cpu.c +++ b/test/dm/cpu.c
@@ -43,6 +43,8 @@ ut_assertok(cpu_get_vendor(dev, text, sizeof(text))); ut_assertok(strcmp(text, "Languid Example Garbage Inc.")); + ut_assertok(cpu_release_core(dev, 0)); + return 0; }