[PATCH] test/event: fix device stop

pbhagavatula at marvell.com pbhagavatula at marvell.com
Tue Oct 22 14:03:29 CEST 2024


From: Pavan Nikhilesh <pbhagavatula at marvell.com>

Fix missing event device stop after finishing the
test case.

Fixes: acc65ee307f7 ("eventdev: introduce event pre-scheduling")

Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
---
 app/test/test_eventdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test/test_eventdev.c b/app/test/test_eventdev.c
index a9258d2abc..b03a62fe70 100644
--- a/app/test/test_eventdev.c
+++ b/app/test/test_eventdev.c
@@ -1450,7 +1450,7 @@ static struct unit_test_suite eventdev_common_testsuite  = {
 			test_eventdev_start_stop),
 		TEST_CASE_ST(eventdev_configure_setup, eventdev_stop_device,
 			test_eventdev_profile_switch),
-		TEST_CASE_ST(eventdev_configure_setup, NULL,
+		TEST_CASE_ST(eventdev_configure_setup, eventdev_stop_device,
 			test_eventdev_preschedule_configure),
 		TEST_CASE_ST(eventdev_configure_setup, eventdev_stop_device,
 			test_eventdev_preschedule_modify),
-- 
2.25.1



More information about the dev mailing list