[dpdk-dev] [PATCH v4 5/5] test/cfgfile: add new unit test

Bruce Richardson bruce.richardson at intel.com
Mon Sep 4 11:21:26 CEST 2017

On Wed, Aug 30, 2017 at 09:25:51PM +0100, Bruce Richardson wrote:
> On Mon, Jul 10, 2017 at 02:44:17PM +0200, Jacek Piasecki wrote:
> > Load huge realloc_sections.ini file to check malloc/realloc
> > ability of cfgfile library.
> > 
> > Signed-off-by: Jacek Piasecki <jacekx.piasecki at intel.com>
> > ---
> This may need some work still. The cfgfile tests fail for me when I run
> them:
> RTE>>cfgfile_autotest
> TestCase test_cfgfile_realloc_sections() line 165 failed: Failed to load config file
> Test Failed
> RTE>>
Deleting the build directory and recreating it allows these tests to
pass. Following up with Jacek offline, it appears that the test data
used here is not copied over each time on build, which is what causes
the error - using old data/resources with the new tests. Therefore, it
appears the tests themselves are not at fault.

Acked-by: Bruce Richardson <bruce.richardson at intel.com>

More information about the dev mailing list