Bug 45 - Test compilation fails at 2nd iteration after running resource_autotest
Summary: Test compilation fails at 2nd iteration after running resource_autotest
Status: RESOLVED WONTFIX
Alias: None
Product: DPDK
Classification: Unclassified
Component: other (show other bugs)
Version: 18.02
Hardware: All All
: Normal normal
Target Milestone: 18.05
Assignee: Thomas Monjalon
URL:
Depends on:
Blocks:
 
Reported: 2018-05-10 14:14 CEST by reshma pattan
Modified: 2020-06-18 22:37 CEST (History)
2 users (show)



Attachments

Description reshma pattan 2018-05-10 14:14:05 CEST
Test" compilation fails at second iteration after running sanity script test.
resource_autotest during test execution tries to open test_resource.c and if found removes it.
Hence when we try to compile "test" in test folder again after running this resource_autotest via sanity script, compilation fails as test_resource.c is removed and not found.

DPDK version:
Latest dpdk-dpdk repo
OS:
Fedora 27, CentOS 7, FreeBSD
Compiler: gcc
Steps to reproduce
1. Compile dpdk-dpdk 
2. Compile "test" in test folder
3. Run Sanity Script or run resource_autotest UT
4. Re-compile "test" in test folder

Show the output from the previous commands.
dpdk-dpdk/test/test# make
make: *** No rule to make target 'test_resource.c', needed by 'test_resource.o'. Stop.

Expected Result
Compilation should be successful.
Comment 1 Ajit Khaparde 2018-09-15 23:51:56 CEST
Hi Ajit,

 

Thanks for tracking down this one. Last commit from Jan is around April, I don’t have more details.

 

And that code doesn’t have any other maintainer to assign.

 

In this case I guess it fallbacks to me or Thomas, mainly to find a person to work on, please assign to one of us (to Thomas J).

 

Thanks,

ferruh
Comment 2 Thomas Monjalon 2020-06-18 22:37:44 CEST
I guess this bug was fixed. Nobody else complained.
Anyway, we are deprecating makefiles.
Closed as WONTFIX

Note You need to log in before you can comment on or make changes to this bug.