[dpdk-dev] [dpdk-stable] [PATCH v3] app/test: fix build when ring PMD is disabled

David Marchand david.marchand at redhat.com
Sun Oct 27 09:47:42 CET 2019


On Fri, Oct 25, 2019 at 5:38 PM Reshma Pattan <reshma.pattan at intel.com> wrote:
>
> 1)pdump, latency, bitrate, ring PMD and test_event_eth_tx_adapter
> unit tests are dependent on ring PMD, so compile those
> tests only when ring PMD is enabled else ignore.
>
> 2)get rid of make file error which was added by bond unit test
> for ring PMD disabled case which is not necessary.
>
> Fixes: 086eb64db3 ("test/pdump: add unit test for pdump library")
> Fixes: fdeb30fa71 ("test/bitrate: add unit tests for bitrate library")
> Fixes: 1e3676a06e ("test/latency: add unit tests for latencystats library")
> Fixes: 46cf97e4bb ("eventdev: add test for eth Tx adapter")
> Fixes: d23e09e0ef ("app/test: link with ring pmd when needed")
>
> CC: stable at dpdk.org
> CC: Nikhil Rao <nikhil.rao at intel.com>
> CC: Chas Williams <chas3 at att.com>
> CC: Bruce Richardson <bruce.richardson at intel.com>
> CC: Stephen Hemminger <stephen at networkplumber.org>
>
> Reported-by: Stephen Hemminger <stephen at networkplumber.org>
> Signed-off-by: Reshma Pattan <reshma.pattan at intel.com>
> ---
> v3: add missing test event_eth_tx_adapter_autotest.

https://travis-ci.com/ovsrobot/dpdk/jobs/249598391

79/83 DPDK:fast-tests / event_eth_tx_adapter_autotest  FAIL     0.12 s
(exit status 255 or signal 127 SIGinvalid)
--- command ---
DPDK_TEST='event_eth_tx_adapter_autotest'
/home/travis/build/ovsrobot/dpdk/build/app/test/dpdk-test -l 0-1
--file-prefix=event_eth_tx_adapter_autotest
--- stdout ---
EAL: Probing VFIO support...
APP: HPET is not enabled, using TSC as default timer
RTE>>event_eth_tx_adapter_autotest
 + ------------------------------------------------------- +
 + Test Suite : tx event eth adapter test suite
Port 0 MAC: 00 00 00 00 00 00
Port 1 MAC: 00 00 00 00 00 00
Failed to find a valid event device, testing with event_sw0 device
 + ------------------------------------------------------- +
 + Test Suite Summary
 + Tests Total :        5
 + Tests Skipped :      0
 + Tests Executed :     0
 + Tests Unsupported:   0
 + Tests Passed :       0
 + Tests Failed :       5
 + ------------------------------------------------------- +
Test Failed


-- 
David Marchand



More information about the dev mailing list