summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-11-02 09:10:30 -0400
committerTom Rini <[email protected]>2022-11-02 09:10:30 -0400
commitcca41ed3d63f462ca044e0d2d30a34d4917fc6c5 (patch)
tree098a9c50a140c777bc21517068fe676957fb5e1e /test
parentec5b8804de3938ad8b4dc51d1cdce622640a14ff (diff)
parent50128aeb0f8bb5a2d820e4c7a6ac0bb745809fc1 (diff)
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-watchdog
- cyclic: get rid of (the need for) cyclic_init() (Rasmus)
Diffstat (limited to 'test')
-rw-r--r--test/test-main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test-main.c b/test/test-main.c
index ddfd89c089a..fe3ef6daad6 100644
--- a/test/test-main.c
+++ b/test/test-main.c
@@ -287,7 +287,6 @@ static int dm_test_restore(struct device_node *of_root)
static int test_pre_run(struct unit_test_state *uts, struct unit_test *test)
{
ut_assertok(event_init());
- ut_assertok(cyclic_init());
if (test->flags & UT_TESTF_DM)
ut_assertok(dm_test_pre_run(uts));
@@ -347,7 +346,7 @@ static int test_post_run(struct unit_test_state *uts, struct unit_test *test)
ut_unsilence_console(uts);
if (test->flags & UT_TESTF_DM)
ut_assertok(dm_test_post_run(uts));
- ut_assertok(cyclic_uninit());
+ ut_assertok(cyclic_unregister_all());
ut_assertok(event_uninit());
free(uts->of_other);