Re: [PATCH v4 5/5] test/cfgfile: add new unit test
From: Bruce Richardson <hidden>
Date: 2017-09-04 09:21:30
From: Bruce Richardson <hidden>
Date: 2017-09-04 09:21:30
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:quoted
Load huge realloc_sections.ini file to check malloc/realloc ability of cfgfile library. Signed-off-by: Jacek Piasecki <redacted> ---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 <redacted>