#
d83fb967 |
| 15-Sep-2023 |
David Marchand <david.marchand@redhat.com> |
test: fix fast, perf and driver testsuites
Some tests (15 fast-tests, 2 perf tests and 7 driver tests) have been lost in the recent changes reworking test suites.
The following method was used to i
test: fix fast, perf and driver testsuites
Some tests (15 fast-tests, 2 perf tests and 7 driver tests) have been lost in the recent changes reworking test suites.
The following method was used to identify them:
$ git grep -h fast_tests.+= e0a8442ccd -- app/test/meson.build fast_tests += [['graph_autotest', true, true]] fast_tests += [['node_list_dump', true, true]] fast_tests += [['metrics_autotest', true, true]] fast_tests += [['telemetry_json_autotest', true, true]] fast_tests += [['telemetry_data_autotest', true, true]] fast_tests += [['table_autotest', true, true]] fast_tests += [['ring_pmd_autotest', true, true]] fast_tests += [['event_eth_tx_adapter_autotest', false, true]] fast_tests += [['bitratestats_autotest', true, true]] fast_tests += [['latencystats_autotest', true, true]] fast_tests += [['pdump_autotest', true, false]] fast_tests += [['vdev_autotest', true, true]] fast_tests += [['rawdev_autotest', true, true]] fast_tests += [['pdcp_autotest', false, true]] fast_tests += [['compressdev_autotest', false, true]]
$ git grep -h perf_test_names.+= e0a8442ccd -- app/test/meson.build perf_test_names += 'graph_perf_autotest' perf_test_names += 'ring_pmd_perf_autotest'
$ git grep -hA4 driver_test_names.+= e0a8442ccd -- app/test/meson.build driver_test_names += [ 'cryptodev_openssl_asym_autotest', 'eventdev_selftest_octeontx', 'eventdev_selftest_sw', ]
-- driver_test_names += ['link_bonding_autotest', 'link_bonding_rssconf_autotest'] if dpdk_conf.has('RTE_NET_RING') test_sources += 'test_link_bonding_mode4.c' driver_test_names += 'link_bonding_mode4_autotest' endif endif if dpdk_conf.has('RTE_LIB_EVENTDEV') and dpdk_conf.has('RTE_NET_RING') test_deps += 'net_ring' -- driver_test_names += 'cryptodev_scheduler_autotest' test_deps += 'crypto_scheduler' endif
foreach d:test_deps
Fixes: e0a8442ccd15 ("test: tag tests type")
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Morten Brørup <mb@smartsharesystems.com>
show more ...
|
#
926629e3 |
| 24-Nov-2021 |
Xueming Li <xuemingl@nvidia.com> |
bus: fix device iterator match from arguments
Device iterator RTE_DEV_FOREACH() failed to return devices from classifier like "class=vdpa", because matching name from empty kvargs returns no result.
bus: fix device iterator match from arguments
Device iterator RTE_DEV_FOREACH() failed to return devices from classifier like "class=vdpa", because matching name from empty kvargs returns no result. If device name not specified in kvargs, the function should iterate all devices.
This patch allows empty devargs or devargs without name specified.
Fixes: 6aebb942907d ("kvargs: add function to get from key and value")
Signed-off-by: Xueming Li <xuemingl@nvidia.com> Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Acked-by: Xueming Li <xuemingl@nvidia.com>
show more ...
|