I don't want to delete check under odp_schedule_wait_time((uint64_t)-1LL); because at least for now it's only one test that check smth real.
It will be deleted along with patches that add real wait_time test on odp_schedule(). In this concrete patch I'm not fixing it. So, please don't hesitate to review it. On 10.09.15 19:18, Ivan Khoronzhuk wrote:
The ODP_SCHED_NO_WAIT now corresponds to 0, not 1. So no need to check it anymore. Signed-off-by: Ivan Khoronzhuk <ivan.khoronz...@linaro.org> --- test/validation/scheduler/scheduler.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/validation/scheduler/scheduler.c b/test/validation/scheduler/scheduler.c index 1874889..39357e7 100644 --- a/test/validation/scheduler/scheduler.c +++ b/test/validation/scheduler/scheduler.c @@ -95,9 +95,7 @@ void scheduler_test_wait_time(void) uint64_t wait_time; wait_time = odp_schedule_wait_time(0); - wait_time = odp_schedule_wait_time(1); - CU_ASSERT(wait_time > 0); wait_time = odp_schedule_wait_time((uint64_t)-1LL); CU_ASSERT(wait_time > 0);
-- Regards, Ivan Khoronzhuk _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp