Ola,

Is there any specific reason for following check in timer validation test ?

diff --git a/test/validation/odp_timer.c b/test/validation/odp_timer.c
index 554b353..724026e 100644
--- a/test/validation/odp_timer.c
+++ b/test/validation/odp_timer.c
@@ -260,7 +260,7 @@ static void handle_tmo(odp_event_t ev, bool stale, uint64_t 
prev_tick)
 
        if (ttp != NULL) {
                /* Internal error */
-               CU_ASSERT_FATAL(ttp->ev == ODP_EVENT_INVALID);
+---------->    CU_ASSERT_FATAL(ttp->ev == ODP_EVENT_INVALID);
                ttp->ev = ev;
        }
 }

AFAIU, I should be CU_ASSERT_FATAL(ttp->ev != ODP_EVENT_INVALID) as 
tt[i].ev = odp_timeout_to_event(odp_timeout_alloc(tbp)) specified while 
preparing  all timers.

Am I missing something in the timer specification ?

Thanks,
Jerin.

_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to