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

Pattan, Reshma reshma.pattan at intel.com
Wed Dec 18 17:23:18 CET 2019



> -----Original Message-----
> From: Bruce Richardson <bruce.richardson at intel.com>

<snip>

> 
> >  foreach arg : fast_test_names
> > +	if (get_option('default_library') == 'shared' and
> > +		arg == 'event_eth_tx_adapter_autotest')
> > +		foreach drv:dpdk_drivers
> > +			test_args += ['-d', drv.full_path().split('.a')[0] + '.so']
> > +		endforeach
> > +	endif
> 
> Does this need to be limited to just this one test? Why not just set the test args
> outside the loop to always include all drivers if it is a shared build?
> 

I was seeing  couple of other UTs failing when I set the testargs commonly for all tests.
I am not sure about why, so enabling only for that particular UT which actually needed them.

APP: HPET is not enabled, using TSC as default timer
RTE>>alarm_autotest^M
check if the callback will be called
Callback not called
Test Failed
RTE>>

RTE>>interrupt_autotest^M
Check unknown valid interrupt full path
callback has not been called
failure occurred during checking unknown valid interrupt full path
Clearing for interrupt tests
Test Failed
RTE>>

Thanks,
Reshma
 


More information about the stable mailing list