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

2015-02-24 Thread Thomas Monjalon
2015-02-10 11:46, Bruce Richardson: > On Fri, Jan 30, 2015 at 11:18:19AM +0100, Thomas Monjalon wrote: > > 2015-01-27 13:06, Neil Horman: > > > On Tue, Jan 27, 2015 at 04:44:53PM +0100, Daniel Mrzyglod wrote: > > > > In test_sched, we are missing NULL pointer checks after create_mempool() > > > > a

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

2015-02-10 Thread Bruce Richardson
On Fri, Jan 30, 2015 at 11:18:19AM +0100, Thomas Monjalon wrote: > 2015-01-27 13:06, Neil Horman: > > On Tue, Jan 27, 2015 at 04:44: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 us

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

2015-01-30 Thread Thomas Monjalon
2015-01-27 13:06, Neil Horman: > On Tue, Jan 27, 2015 at 04:44: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 a

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

2015-01-27 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 fail

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

2015-01-27 Thread Neil Horman
On Tue, Jan 27, 2015 at 04:44: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 "