[dpdk-dev] [PATCH v4] test: fix missing NULL pointer checks

2015-02-10 Thread Bruce Richardson
On Fri, Jan 30, 2015 at 12:14:53PM +0100, Daniel Mrzyglod wrote: > In test_sched, we are missing NULL pointer checks after create_mempool() > and rte_pktmbuf_alloc(). Add in these checks using TEST_ASSERT_NOT_NULL > macros. > > VERIFY macro was removed and replaced by standard test ASSERTS from >

[dpdk-dev] [PATCH v4] test: fix missing NULL pointer checks

2015-01-30 Thread Daniel Mrzyglod
In test_sched, we are missing NULL pointer checks after create_mempool() and rte_pktmbuf_alloc(). Add in these checks using TEST_ASSERT_NOT_NULL macros. VERIFY macro was removed and replaced by standard test ASSERTS from "test.h" header. This provides additional information to track when the failu