aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>2015-09-10 19:18:50 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-09-16 11:25:43 +0300
commit68f6f9334b810b3f218b0c0e4d2e4f18315f2bf6 (patch)
treea779dbc56019e8bdc2b7318e80cccd1825aef685
parent30cd1e2292dfe034491cc32b30bbb6ffe5ff558a (diff)
validation: schedule: don't check schedule time on 0
The ODP_SCHED_NO_WAIT now corresponds to 0, not 1. So no need to check it anymore. Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
-rw-r--r--test/validation/scheduler/scheduler.c2
1 files changed, 0 insertions, 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);