Skip to contentSkip to conversation

Test compilation fails at 2nd iteration after running resource_autotest

Bug 45 [email protected] 1 participant 1 message May 10, 2018

lore
Share & tools
lore
#0 lore raw

https://dpdk.org/tracker/show_bug.cgi?id=45

            Bug ID: 45
           Summary: Test compilation fails at 2nd iteration after running
                    resource_autotest
           Product: DPDK
           Version: 18.02
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: Normal
         Component: other
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.