test/crypto: move tests to the driver specific list

For consistency, put all specific crypto driver tests in the dedicated
list (in alphabetic order).

While at it:
- remove dead reference to cryptodev_sw_mrvl_autotest (renamed as
  cryptodev_sw_mvsam_autotest),
- call the crypto scheduler test only when built,

Fixes: 9eabcb6824 ("test: update autotest list")
Fixes: 3d20ffe6dd ("test: reorder test cases in meson")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Aaron Conole <aconole@redhat.com>
This commit is contained in:
David Marchand 2019-06-15 08:42:17 +02:00 committed by Thomas Monjalon
parent 1d273622c8
commit 7fa67dca61
2 changed files with 19 additions and 17 deletions

View File

@ -393,8 +393,8 @@
"Report": None, "Report": None,
}, },
{ {
"Name": "Cryptodev sw mrvl autotest", "Name": "Cryptodev sw mvsam autotest",
"Command": "cryptodev_sw_mrvl_autotest", "Command": "cryptodev_sw_mvsam_autotest",
"Func": default_autotest, "Func": default_autotest,
"Report": None, "Report": None,
}, },

View File

@ -200,10 +200,7 @@ fast_parallel_test_names = [
# All test cases in fast_non_parallel_test_names list are non-parallel # All test cases in fast_non_parallel_test_names list are non-parallel
fast_non_parallel_test_names = [ fast_non_parallel_test_names = [
'bitratestats_autotest', 'bitratestats_autotest',
'cryptodev_sw_armv8_autotest',
'crc_autotest', 'crc_autotest',
'cryptodev_openssl_asym_autotest',
'cryptodev_sw_mvsam_autotest',
'delay_us_sleep_autotest', 'delay_us_sleep_autotest',
'distributor_autotest', 'distributor_autotest',
'eventdev_common_autotest', 'eventdev_common_autotest',
@ -259,21 +256,22 @@ perf_test_names = [
# All test cases in driver_test_names list are non-parallel # All test cases in driver_test_names list are non-parallel
driver_test_names = [ driver_test_names = [
'cryptodev_aesni_mb_autotest',
'cryptodev_aesni_gcm_autotest',
'cryptodev_dpaa_sec_autotest',
'cryptodev_dpaa2_sec_autotest',
'cryptodev_null_autotest',
'cryptodev_openssl_autotest',
'cryptodev_openssl_asym_autotest',
'cryptodev_qat_autotest',
'cryptodev_sw_armv8_autotest',
'cryptodev_sw_kasumi_autotest',
'cryptodev_sw_mvsam_autotest',
'cryptodev_sw_snow3g_autotest',
'cryptodev_sw_zuc_autotest',
'link_bonding_autotest', 'link_bonding_autotest',
'link_bonding_mode4_autotest', 'link_bonding_mode4_autotest',
'link_bonding_rssconf_autotest', 'link_bonding_rssconf_autotest',
'cryptodev_sw_mrvl_autotest',
'cryptodev_dpaa2_sec_autotest',
'cryptodev_dpaa_sec_autotest',
'cryptodev_qat_autotest',
'cryptodev_aesni_mb_autotest',
'cryptodev_openssl_autotest',
'cryptodev_scheduler_autotest',
'cryptodev_aesni_gcm_autotest',
'cryptodev_null_autotest',
'cryptodev_sw_snow3g_autotest',
'cryptodev_sw_kasumi_autotest',
'cryptodev_sw_zuc_autotest',
] ]
# All test cases in dump_test_names list are non-parallel # All test cases in dump_test_names list are non-parallel
@ -329,6 +327,10 @@ if dpdk_conf.has('RTE_LIBRTE_COMPRESSDEV')
endif endif
endif endif
if dpdk_conf.has('RTE_LIBRTE_PMD_CRYPTO_SCHEDULER')
driver_test_names += 'cryptodev_scheduler_autotest'
endif
foreach d:test_deps foreach d:test_deps
def_lib = get_option('default_library') def_lib = get_option('default_library')
test_dep_objs += get_variable(def_lib + '_rte_' + d) test_dep_objs += get_variable(def_lib + '_rte_' + d)