Merged,
Maxim.
On 05/05/2015 14:54, Bill Fischofer wrote:
On Tue, May 5, 2015 at 2:24 AM, Nicolas Morey-Chaisemartin
<nmo...@kalray.eu <mailto:nmo...@kalray.eu>> wrote:
Signed-off-by: Nicolas Morey-Chaisemartin <nmo...@kalray.eu
<mailto:nmo...@kalray.eu>>
Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org
<mailto:bill.fischo...@linaro.org>>
---
test/validation/odp_queue.c | 1 +
test/validation/odp_schedule.c | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/test/validation/odp_queue.c b/test/validation/odp_queue.c
index 5d47399..5123939 100644
--- a/test/validation/odp_queue.c
+++ b/test/validation/odp_queue.c
@@ -74,6 +74,7 @@ static void test_odp_queue_sunnyday(void)
msg_pool = odp_pool_lookup("msg_pool");
buf = odp_buffer_alloc(msg_pool);
+ CU_ASSERT_FATAL(buf != ODP_BUFFER_INVALID);
ev = odp_buffer_to_event(buf);
odp_queue_enq(queue_id, ev);
diff --git a/test/validation/odp_schedule.c
b/test/validation/odp_schedule.c
index b168766..76e2f53 100644
--- a/test/validation/odp_schedule.c
+++ b/test/validation/odp_schedule.c
@@ -291,7 +291,7 @@ static void fill_queues(thread_args_t *args)
odp_buffer_t buf;
odp_event_t ev;
buf = odp_buffer_alloc(pool);
- CU_ASSERT(buf != ODP_BUFFER_INVALID);
+ CU_ASSERT_FATAL(buf !=
ODP_BUFFER_INVALID);
ev = odp_buffer_to_event(buf);
CU_ASSERT(odp_queue_enq(queue, ev) == 0);
buf_count++;
@@ -563,7 +563,7 @@ static void test_schedule_pause_resume(void)
for (i = 0; i < NUM_BUFS_PAUSE; i++) {
buf = odp_buffer_alloc(pool);
- CU_ASSERT(buf != ODP_BUFFER_INVALID);
+ CU_ASSERT_FATAL(buf != ODP_BUFFER_INVALID);
ev = odp_buffer_to_event(buf);
odp_queue_enq(queue, ev);
}
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org>
https://lists.linaro.org/mailman/listinfo/lng-odp
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp