Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/97031/?format=api
http://patchwork.dpdk.org/api/patches/97031/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1629267476-901-14-git-send-email-jizh@linux.microsoft.com/", "project": { "id": 1, "url": "http://patchwork.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<1629267476-901-14-git-send-email-jizh@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1629267476-901-14-git-send-email-jizh@linux.microsoft.com", "date": "2021-08-18T06:17:56", "name": "[v1,13/13] app/test: enable subset of unit tests on Windows", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "7a3a50fcd99268f6dd169a344a2395c175ae3b5c", "submitter": { "id": 1934, "url": "http://patchwork.dpdk.org/api/people/1934/?format=api", "name": "Jie Zhou", "email": "jizh@linux.microsoft.com" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1629267476-901-14-git-send-email-jizh@linux.microsoft.com/mbox/", "series": [ { "id": 18321, "url": "http://patchwork.dpdk.org/api/series/18321/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=18321", "date": "2021-08-18T06:17:45", "name": "app/test: enable subset of tests on Windows", "version": 1, "mbox": "http://patchwork.dpdk.org/series/18321/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/97031/comments/", "check": "fail", "checks": "http://patchwork.dpdk.org/api/patches/97031/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 61B73A0C46;\n\tWed, 18 Aug 2021 08:19:16 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 24521411FC;\n\tWed, 18 Aug 2021 08:18:19 +0200 (CEST)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 9C20841153\n for <dev@dpdk.org>; Wed, 18 Aug 2021 08:18:03 +0200 (CEST)", "from\n linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net\n (linux.microsoft.com [13.77.154.182])\n by linux.microsoft.com (Postfix) with ESMTPSA id D8A5B20C332A;\n Tue, 17 Aug 2021 23:18:02 -0700 (PDT)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com D8A5B20C332A", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1629267482;\n bh=97jxaarqdo+PwJ9ZQv0vu3KypLYdRSAOKkkvwhyGGIE=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=CsGXjoT8aC+Ur99DBdsO7utOwOlZDqsD6fcygbnayRf9GLCph4zUQBvSdyXwDZjgc\n 85hKNKvNdIPoneSxSvC/OhsfOgJbbiQoRzJgx3lzY8p9LtQim4/WjvdpVqnPYYiDf4\n AFc1DfbXB+6n9sVvicRf50sBrvcrMEXrXj7kDhgI=", "From": "Jie Zhou <jizh@linux.microsoft.com>", "To": "dev@dpdk.org", "Cc": "dmitry.kozliuk@gmail.com, roretzla@microsoft.com,\n navasile@linux.microsoft.com, dmitrym@microsoft.com,\n pallavi.kadam@intel.com, talshn@nvidia.com, thomas@monjalon.net,\n aconole@redhat.com", "Date": "Tue, 17 Aug 2021 23:17:56 -0700", "Message-Id": "<1629267476-901-14-git-send-email-jizh@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1629267476-901-1-git-send-email-jizh@linux.microsoft.com>", "References": "<1629267476-901-1-git-send-email-jizh@linux.microsoft.com>", "Subject": "[dpdk-dev] [PATCH v1 13/13] app/test: enable subset of unit tests\n on Windows", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "In app/test/meson.build\n- Specify the subset of source files to compile on Windows\n- Specify the subset of tests to be enabled on Windows\n\nSigned-off-by: Jie Zhou <jizh@linux.microsoft.com>\n---\n app/test/meson.build | 859 ++++++++++++++++++++++++++-----------------\n 1 file changed, 515 insertions(+), 344 deletions(-)", "diff": "diff --git a/app/test/meson.build b/app/test/meson.build\nindex 7240304916..1e77657510 100644\n--- a/app/test/meson.build\n+++ b/app/test/meson.build\n@@ -1,353 +1,524 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017 Intel Corporation\n \n-if is_windows\n-\tbuild = false\n-\treason = 'not supported on Windows'\n-\tsubdir_done()\n-endif\n-\n if not get_option('tests')\n subdir_done()\n endif\n \n-test_sources = files(\n- 'commands.c',\n- 'packet_burst_generator.c',\n- 'test.c',\n- 'test_acl.c',\n- 'test_alarm.c',\n- 'test_atomic.c',\n- 'test_barrier.c',\n- 'test_bitops.c',\n- 'test_bitmap.c',\n- 'test_bpf.c',\n- 'test_byteorder.c',\n- 'test_cksum.c',\n- 'test_cmdline.c',\n- 'test_cmdline_cirbuf.c',\n- 'test_cmdline_etheraddr.c',\n- 'test_cmdline_ipaddr.c',\n- 'test_cmdline_lib.c',\n- 'test_cmdline_num.c',\n- 'test_cmdline_portlist.c',\n- 'test_cmdline_string.c',\n- 'test_common.c',\n- 'test_cpuflags.c',\n- 'test_crc.c',\n- 'test_cryptodev.c',\n- 'test_cryptodev_asym.c',\n- 'test_cryptodev_blockcipher.c',\n- 'test_cryptodev_security_pdcp.c',\n- 'test_cycles.c',\n- 'test_debug.c',\n- 'test_distributor.c',\n- 'test_distributor_perf.c',\n- 'test_eal_flags.c',\n- 'test_eal_fs.c',\n- 'test_efd.c',\n- 'test_efd_perf.c',\n- 'test_errno.c',\n- 'test_ethdev_link.c',\n- 'test_event_crypto_adapter.c',\n- 'test_event_eth_rx_adapter.c',\n- 'test_event_ring.c',\n- 'test_event_timer_adapter.c',\n- 'test_eventdev.c',\n- 'test_external_mem.c',\n- 'test_fbarray.c',\n- 'test_fib.c',\n- 'test_fib_perf.c',\n- 'test_fib6.c',\n- 'test_fib6_perf.c',\n- 'test_func_reentrancy.c',\n- 'test_flow_classify.c',\n- 'test_graph.c',\n- 'test_graph_perf.c',\n- 'test_hash.c',\n- 'test_hash_functions.c',\n- 'test_hash_multiwriter.c',\n- 'test_hash_readwrite.c',\n- 'test_hash_perf.c',\n- 'test_hash_readwrite_lf_perf.c',\n- 'test_interrupts.c',\n- 'test_ipfrag.c',\n- 'test_ipsec.c',\n- 'test_ipsec_sad.c',\n- 'test_ipsec_perf.c',\n- 'test_kni.c',\n- 'test_kvargs.c',\n- 'test_lcores.c',\n- 'test_logs.c',\n- 'test_lpm.c',\n- 'test_lpm6.c',\n- 'test_lpm6_perf.c',\n- 'test_lpm_perf.c',\n- 'test_malloc.c',\n- 'test_mbuf.c',\n- 'test_member.c',\n- 'test_member_perf.c',\n- 'test_memcpy.c',\n- 'test_memcpy_perf.c',\n- 'test_memory.c',\n- 'test_mempool.c',\n- 'test_mempool_perf.c',\n- 'test_memzone.c',\n- 'test_meter.c',\n- 'test_metrics.c',\n- 'test_mcslock.c',\n- 'test_mp_secondary.c',\n- 'test_per_lcore.c',\n- 'test_pflock.c',\n- 'test_pmd_perf.c',\n- 'test_power.c',\n- 'test_power_cpufreq.c',\n- 'test_power_kvm_vm.c',\n- 'test_prefetch.c',\n- 'test_rand_perf.c',\n- 'test_rawdev.c',\n- 'test_rcu_qsbr.c',\n- 'test_rcu_qsbr_perf.c',\n- 'test_reciprocal_division.c',\n- 'test_reciprocal_division_perf.c',\n- 'test_red.c',\n- 'test_reorder.c',\n- 'test_rib.c',\n- 'test_rib6.c',\n- 'test_ring.c',\n- 'test_ring_mpmc_stress.c',\n- 'test_ring_hts_stress.c',\n- 'test_ring_mt_peek_stress.c',\n- 'test_ring_mt_peek_stress_zc.c',\n- 'test_ring_perf.c',\n- 'test_ring_rts_stress.c',\n- 'test_ring_st_peek_stress.c',\n- 'test_ring_st_peek_stress_zc.c',\n- 'test_ring_stress.c',\n- 'test_rwlock.c',\n- 'test_sched.c',\n- 'test_security.c',\n- 'test_service_cores.c',\n- 'test_spinlock.c',\n- 'test_stack.c',\n- 'test_stack_perf.c',\n- 'test_string_fns.c',\n- 'test_table.c',\n- 'test_table_acl.c',\n- 'test_table_combined.c',\n- 'test_table_pipeline.c',\n- 'test_table_ports.c',\n- 'test_table_tables.c',\n- 'test_tailq.c',\n- 'test_thash.c',\n- 'test_timer.c',\n- 'test_timer_perf.c',\n- 'test_timer_racecond.c',\n- 'test_timer_secondary.c',\n- 'test_ticketlock.c',\n- 'test_trace.c',\n- 'test_trace_register.c',\n- 'test_trace_perf.c',\n- 'test_version.c',\n- 'virtual_pmd.c',\n-)\n-\n-test_deps = [\n- 'acl',\n- 'bus_pci',\n- 'bus_vdev',\n- 'bitratestats',\n- 'bpf',\n- 'cfgfile',\n- 'cmdline',\n- 'cryptodev',\n- 'distributor',\n- 'efd',\n- 'ethdev',\n- 'eventdev',\n- 'fib',\n- 'flow_classify',\n- 'graph',\n- 'hash',\n- 'ipsec',\n- 'latencystats',\n- 'lpm',\n- 'member',\n- 'metrics',\n- 'node',\n- 'pipeline',\n- 'port',\n- 'rawdev',\n- 'rcu',\n- 'reorder',\n- 'rib',\n- 'ring',\n- 'security',\n- 'stack',\n- 'telemetry',\n- 'timer',\n-]\n-\n-# Each test is marked with flag true/false\n-# to indicate whether it can run in no-huge mode.\n-fast_tests = [\n- ['acl_autotest', true],\n- ['atomic_autotest', false],\n- ['bitops_autotest', true],\n- ['byteorder_autotest', true],\n- ['cksum_autotest', true],\n- ['cmdline_autotest', true],\n- ['common_autotest', true],\n- ['cpuflags_autotest', true],\n- ['debug_autotest', true],\n- ['eal_flags_c_opt_autotest', false],\n- ['eal_flags_main_opt_autotest', false],\n- ['eal_flags_n_opt_autotest', false],\n- ['eal_flags_hpet_autotest', false],\n- ['eal_flags_no_huge_autotest', false],\n- ['eal_flags_a_opt_autotest', false],\n- ['eal_flags_b_opt_autotest', false],\n- ['eal_flags_vdev_opt_autotest', false],\n- ['eal_flags_r_opt_autotest', false],\n- ['eal_flags_mem_autotest', false],\n- ['eal_flags_file_prefix_autotest', false],\n- ['eal_flags_misc_autotest', false],\n- ['eal_fs_autotest', true],\n- ['errno_autotest', true],\n- ['ethdev_link_status', true],\n- ['event_ring_autotest', true],\n- ['fib_autotest', true],\n- ['fib6_autotest', true],\n- ['func_reentrancy_autotest', false],\n- ['flow_classify_autotest', false],\n- ['hash_autotest', true],\n- ['interrupt_autotest', true],\n- ['ipfrag_autotest', false],\n- ['lcores_autotest', true],\n- ['logs_autotest', true],\n- ['lpm_autotest', true],\n- ['lpm6_autotest', true],\n- ['malloc_autotest', false],\n- ['mbuf_autotest', false],\n- ['mcslock_autotest', false],\n- ['memcpy_autotest', true],\n- ['memory_autotest', false],\n- ['mempool_autotest', false],\n- ['memzone_autotest', false],\n- ['meter_autotest', true],\n- ['multiprocess_autotest', false],\n- ['per_lcore_autotest', true],\n- ['pflock_autotest', true],\n- ['prefetch_autotest', true],\n- ['rcu_qsbr_autotest', true],\n- ['red_autotest', true],\n- ['rib_autotest', true],\n- ['rib6_autotest', true],\n- ['ring_autotest', true],\n- ['rwlock_test1_autotest', true],\n- ['rwlock_rda_autotest', true],\n- ['rwlock_rds_wrm_autotest', true],\n- ['rwlock_rde_wro_autotest', true],\n- ['sched_autotest', true],\n- ['security_autotest', false],\n- ['spinlock_autotest', true],\n- ['stack_autotest', false],\n- ['stack_lf_autotest', false],\n- ['string_autotest', true],\n- ['table_autotest', true],\n- ['tailq_autotest', true],\n- ['ticketlock_autotest', true],\n- ['timer_autotest', false],\n- ['user_delay_us', true],\n- ['version_autotest', true],\n- ['crc_autotest', true],\n- ['distributor_autotest', false],\n- ['eventdev_common_autotest', true],\n- ['fbarray_autotest', true],\n- ['hash_readwrite_func_autotest', false],\n- ['ipsec_autotest', true],\n- ['kni_autotest', false],\n- ['kvargs_autotest', true],\n- ['member_autotest', true],\n- ['metrics_autotest', true],\n- ['power_cpufreq_autotest', false],\n- ['power_autotest', true],\n- ['power_kvm_vm_autotest', false],\n- ['reorder_autotest', true],\n- ['service_autotest', true],\n- ['thash_autotest', true],\n- ['trace_autotest', true],\n-]\n-\n-perf_test_names = [\n- 'ring_perf_autotest',\n- 'mempool_perf_autotest',\n- 'memcpy_perf_autotest',\n- 'hash_perf_autotest',\n- 'timer_perf_autotest',\n- 'reciprocal_division',\n- 'reciprocal_division_perf',\n- 'lpm_perf_autotest',\n- 'rib_slow_autotest',\n- 'fib_slow_autotest',\n- 'fib_perf_autotest',\n- 'red_all',\n- 'barrier_autotest',\n- 'hash_multiwriter_autotest',\n- 'timer_racecond_autotest',\n- 'efd_autotest',\n- 'hash_functions_autotest',\n- 'member_perf_autotest',\n- 'efd_perf_autotest',\n- 'lpm6_perf_autotest',\n- 'rib6_slow_autotest',\n- 'fib6_slow_autotest',\n- 'fib6_perf_autotest',\n- 'rcu_qsbr_perf_autotest',\n- 'red_perf',\n- 'distributor_perf_autotest',\n- 'pmd_perf_autotest',\n- 'stack_perf_autotest',\n- 'stack_lf_perf_autotest',\n- 'rand_perf_autotest',\n- 'hash_readwrite_perf_autotest',\n- 'hash_readwrite_lf_perf_autotest',\n- 'trace_perf_autotest',\n- 'ipsec_perf_autotest',\n-]\n-\n-driver_test_names = [\n- 'cryptodev_aesni_mb_autotest',\n- 'cryptodev_aesni_gcm_autotest',\n- 'cryptodev_cn9k_autotest',\n- 'cryptodev_cn10k_autotest',\n- 'cryptodev_dpaa_sec_autotest',\n- 'cryptodev_dpaa2_sec_autotest',\n- 'cryptodev_null_autotest',\n- 'cryptodev_octeontx2_autotest',\n- 'cryptodev_openssl_autotest',\n- 'cryptodev_openssl_asym_autotest',\n- 'cryptodev_qat_autotest',\n- 'cryptodev_sw_armv8_autotest',\n- 'cryptodev_sw_kasumi_autotest',\n- 'cryptodev_sw_mvsam_autotest',\n- 'cryptodev_sw_snow3g_autotest',\n- 'cryptodev_sw_zuc_autotest',\n- 'eventdev_selftest_octeontx',\n- 'eventdev_selftest_sw',\n- 'rawdev_autotest',\n-]\n-\n-dump_test_names = [\n- 'dump_struct_sizes',\n- 'dump_mempool',\n- 'dump_malloc_stats',\n- 'dump_devargs',\n- 'dump_log_types',\n- 'dump_ring',\n- 'dump_physmem',\n- 'dump_memzone',\n-]\n+if is_windows\n+\ttest_sources = files('commands.c',\n+\t\t'packet_burst_generator.c',\n+\t\t'test.c',\n+\t\t'test_alarm.c',\n+\t\t'test_atomic.c',\n+\t\t'test_barrier.c',\n+\t\t'test_bitops.c',\n+\t\t'test_bitmap.c',\n+\t\t'test_byteorder.c',\n+\t\t'test_cmdline.c',\n+\t\t'test_cmdline_cirbuf.c',\n+\t\t'test_cmdline_etheraddr.c',\n+\t\t'test_cmdline_lib.c',\n+\t\t'test_cmdline_num.c',\n+\t\t'test_cmdline_portlist.c',\n+\t\t'test_cmdline_string.c',\n+\t\t'test_common.c',\n+\t\t'test_cpuflags.c',\n+\t\t'test_crc.c',\n+\t\t'test_cycles.c',\n+\t\t'test_errno.c',\n+\t\t'test_ethdev_link.c',\n+\t\t'test_fbarray.c',\n+\t\t'test_func_reentrancy.c',\n+\t\t'test_hash.c',\n+\t\t'test_hash_functions.c',\n+\t\t'test_hash_multiwriter.c',\n+\t\t'test_hash_readwrite.c',\n+\t\t'test_hash_readwrite_lf_perf.c',\n+\t\t'test_interrupts.c',\n+\t\t'test_kvargs.c',\n+\t\t'test_logs.c',\n+\t\t'test_lpm.c',\n+\t\t'test_memcpy.c',\n+\t\t'test_memory.c',\n+\t\t'test_mempool.c',\n+\t\t'test_mempool_perf.c',\n+\t\t'test_memzone.c',\n+\t\t'test_meter.c',\n+\t\t'test_metrics.c',\n+\t\t'test_mcslock.c',\n+\t\t'test_per_lcore.c',\n+\t\t'test_pmd_perf.c',\n+\t\t'test_power.c',\n+\t\t'test_power_cpufreq.c',\n+\t\t'test_power_kvm_vm.c',\n+\t\t'test_prefetch.c',\n+\t\t'test_rand_perf.c',\n+\t\t'test_rcu_qsbr.c',\n+\t\t'test_rcu_qsbr_perf.c',\n+\t\t'test_reorder.c',\n+\t\t'test_rib.c',\n+\t\t'test_rib6.c',\n+\t\t'test_ring.c',\n+\t\t'test_ring_mpmc_stress.c',\n+\t\t'test_ring_mt_peek_stress.c',\n+\t\t'test_ring_mt_peek_stress_zc.c',\n+\t\t'test_ring_perf.c',\n+\t\t'test_ring_rts_stress.c',\n+\t\t'test_ring_st_peek_stress.c',\n+\t\t'test_ring_st_peek_stress_zc.c',\n+\t\t'test_ring_stress.c',\n+\t\t'test_rwlock.c',\n+\t\t'test_service_cores.c',\n+\t\t'test_spinlock.c',\n+\t\t'test_stack.c',\n+\t\t'test_stack_perf.c',\n+\t\t'test_string_fns.c',\n+\t\t'test_tailq.c',\n+\t\t'test_thash.c',\n+\t\t'test_timer.c',\n+\t\t'test_timer_perf.c',\n+\t\t'test_timer_racecond.c',\n+\t\t'test_ticketlock.c',\n+\t\t'test_trace_register.c',\n+\t\t'test_trace_perf.c',\n+\t\t'test_version.c',\n+\t\t'virtual_pmd.c'\n+\t)\n+\n+\ttest_deps = [\n+\t\t'bus_pci',\n+\t\t'bus_vdev',\n+\t\t'bitratestats',\n+\t\t'cfgfile',\n+\t\t'cmdline',\n+\t\t'efd',\n+\t\t'ethdev',\n+\t\t'hash',\n+\t\t'latencystats',\n+\t\t'lpm',\n+\t\t'metrics',\n+\t\t'rcu',\n+\t\t'reorder',\n+\t\t'rib',\n+\t\t'ring',\n+\t\t'stack',\n+\t\t'telemetry',\n+\t\t'timer',\n+\t]\n+\n+ # Each test is marked with flag true/false\n+ # to indicate whether it can run in no-huge mode.\n+ fast_tests = [\n+ ['alarm_autotest', true],\n+ ['bitops_autotest', true],\n+ ['byteorder_autotest', true],\n+ ['cmdline_autotest', true],\n+ ['common_autotest', true],\n+ ['cpuflags_autotest', true],\n+ ['errno_autotest', true],\n+ ['ethdev_link_status', true],\n+ ['hash_autotest', true],\n+ ['interrupt_autotest', true],\n+ ['logs_autotest', true],\n+ ['lpm_autotest', true],\n+ ['mcslock_autotest', false],\n+ ['memory_autotest', false],\n+ ['mempool_autotest', false],\n+ ['memzone_autotest', false],\n+ ['meter_autotest', true],\n+ ['per_lcore_autotest', true],\n+ ['prefetch_autotest', true],\n+ ['rcu_qsbr_autotest', true],\n+ ['rib_autotest', true],\n+ ['rib6_autotest', true],\n+ ['ring_autotest', true],\n+ ['rwlock_test1_autotest', true],\n+ ['rwlock_rda_autotest', true],\n+ ['rwlock_rds_wrm_autotest', true],\n+ ['rwlock_rde_wro_autotest', true],\n+ ['spinlock_autotest', true],\n+ ['stack_autotest', false],\n+ ['stack_lf_autotest', false],\n+ ['string_autotest', true],\n+ ['tailq_autotest', true],\n+ ['ticketlock_autotest', true],\n+ ['user_delay_us', true],\n+ ['version_autotest', true],\n+ ['crc_autotest', true],\n+ ['fbarray_autotest', true],\n+ ['hash_readwrite_func_autotest', false],\n+ ['kvargs_autotest', true],\n+ ['metrics_autotest', true],\n+ ['reorder_autotest', true],\n+ ['service_autotest', true],\n+ ['thash_autotest', true],\n+ ]\n+\n+ perf_test_names = [\n+ 'atomic_autotest',\n+ 'memcpy_autotest',\n+ 'ring_perf_autotest',\n+ 'timer_autotest',\n+ 'timer_perf_autotest',\n+ 'rib_slow_autotest',\n+ 'barrier_autotest',\n+ 'hash_multiwriter_autotest',\n+ 'timer_racecond_autotest',\n+ 'hash_functions_autotest',\n+ 'pmd_perf_autotest',\n+ 'stack_perf_autotest',\n+ 'stack_lf_perf_autotest',\n+ 'rand_perf_autotest',\n+ 'hash_readwrite_perf_autotest',\n+ 'hash_readwrite_lf_perf_autotest',\n+ 'trace_perf_autotest',\n+ ]\n+\n+ driver_test_names = [\n+ ]\n+\n+ dump_test_names = [\n+ ]\n+else\n+ test_sources = files(\n+ 'commands.c',\n+ 'packet_burst_generator.c',\n+ 'test.c',\n+ 'test_acl.c',\n+ 'test_alarm.c',\n+ 'test_atomic.c',\n+ 'test_barrier.c',\n+ 'test_bitops.c',\n+ 'test_bitmap.c',\n+ 'test_bpf.c',\n+ 'test_byteorder.c',\n+ 'test_cksum.c',\n+ 'test_cmdline.c',\n+ 'test_cmdline_cirbuf.c',\n+ 'test_cmdline_etheraddr.c',\n+ 'test_cmdline_ipaddr.c',\n+ 'test_cmdline_lib.c',\n+ 'test_cmdline_num.c',\n+ 'test_cmdline_portlist.c',\n+ 'test_cmdline_string.c',\n+ 'test_common.c',\n+ 'test_cpuflags.c',\n+ 'test_crc.c',\n+ 'test_cryptodev.c',\n+ 'test_cryptodev_asym.c',\n+ 'test_cryptodev_blockcipher.c',\n+ 'test_cryptodev_security_pdcp.c',\n+ 'test_cycles.c',\n+ 'test_debug.c',\n+ 'test_distributor.c',\n+ 'test_distributor_perf.c',\n+ 'test_eal_flags.c',\n+ 'test_eal_fs.c',\n+ 'test_efd.c',\n+ 'test_efd_perf.c',\n+ 'test_errno.c',\n+ 'test_ethdev_link.c',\n+ 'test_event_crypto_adapter.c',\n+ 'test_event_eth_rx_adapter.c',\n+ 'test_event_ring.c',\n+ 'test_event_timer_adapter.c',\n+ 'test_eventdev.c',\n+ 'test_external_mem.c',\n+ 'test_fbarray.c',\n+ 'test_fib.c',\n+ 'test_fib_perf.c',\n+ 'test_fib6.c',\n+ 'test_fib6_perf.c',\n+ 'test_func_reentrancy.c',\n+ 'test_flow_classify.c',\n+ 'test_graph.c',\n+ 'test_graph_perf.c',\n+ 'test_hash.c',\n+ 'test_hash_functions.c',\n+ 'test_hash_multiwriter.c',\n+ 'test_hash_readwrite.c',\n+ 'test_hash_perf.c',\n+ 'test_hash_readwrite_lf_perf.c',\n+ 'test_interrupts.c',\n+ 'test_ipfrag.c',\n+ 'test_ipsec.c',\n+ 'test_ipsec_sad.c',\n+ 'test_ipsec_perf.c',\n+ 'test_kni.c',\n+ 'test_kvargs.c',\n+ 'test_lcores.c',\n+ 'test_logs.c',\n+ 'test_lpm.c',\n+ 'test_lpm6.c',\n+ 'test_lpm6_perf.c',\n+ 'test_lpm_perf.c',\n+ 'test_malloc.c',\n+ 'test_mbuf.c',\n+ 'test_member.c',\n+ 'test_member_perf.c',\n+ 'test_memcpy.c',\n+ 'test_memcpy_perf.c',\n+ 'test_memory.c',\n+ 'test_mempool.c',\n+ 'test_mempool_perf.c',\n+ 'test_memzone.c',\n+ 'test_meter.c',\n+ 'test_metrics.c',\n+ 'test_mcslock.c',\n+ 'test_mp_secondary.c',\n+ 'test_per_lcore.c',\n+ 'test_pflock.c',\n+ 'test_pmd_perf.c',\n+ 'test_power.c',\n+ 'test_power_cpufreq.c',\n+ 'test_power_kvm_vm.c',\n+ 'test_prefetch.c',\n+ 'test_rand_perf.c',\n+ 'test_rawdev.c',\n+ 'test_rcu_qsbr.c',\n+ 'test_rcu_qsbr_perf.c',\n+ 'test_reciprocal_division.c',\n+ 'test_reciprocal_division_perf.c',\n+ 'test_red.c',\n+ 'test_reorder.c',\n+ 'test_rib.c',\n+ 'test_rib6.c',\n+ 'test_ring.c',\n+ 'test_ring_mpmc_stress.c',\n+ 'test_ring_hts_stress.c',\n+ 'test_ring_mt_peek_stress.c',\n+ 'test_ring_mt_peek_stress_zc.c',\n+ 'test_ring_perf.c',\n+ 'test_ring_rts_stress.c',\n+ 'test_ring_st_peek_stress.c',\n+ 'test_ring_st_peek_stress_zc.c',\n+ 'test_ring_stress.c',\n+ 'test_rwlock.c',\n+ 'test_sched.c',\n+ 'test_security.c',\n+ 'test_service_cores.c',\n+ 'test_spinlock.c',\n+ 'test_stack.c',\n+ 'test_stack_perf.c',\n+ 'test_string_fns.c',\n+ 'test_table.c',\n+ 'test_table_acl.c',\n+ 'test_table_combined.c',\n+ 'test_table_pipeline.c',\n+ 'test_table_ports.c',\n+ 'test_table_tables.c',\n+ 'test_tailq.c',\n+ 'test_thash.c',\n+ 'test_timer.c',\n+ 'test_timer_perf.c',\n+ 'test_timer_racecond.c',\n+ 'test_timer_secondary.c',\n+ 'test_ticketlock.c',\n+ 'test_trace.c',\n+ 'test_trace_register.c',\n+ 'test_trace_perf.c',\n+ 'test_version.c',\n+ 'virtual_pmd.c',\n+ )\n+\n+ test_deps = [\n+ 'acl',\n+ 'bus_pci',\n+ 'bus_vdev',\n+ 'bitratestats',\n+ 'bpf',\n+ 'cfgfile',\n+ 'cmdline',\n+ 'cryptodev',\n+ 'distributor',\n+ 'efd',\n+ 'ethdev',\n+ 'eventdev',\n+ 'fib',\n+ 'flow_classify',\n+ 'graph',\n+ 'hash',\n+ 'ipsec',\n+ 'latencystats',\n+ 'lpm',\n+ 'member',\n+ 'metrics',\n+ 'node',\n+ 'pipeline',\n+ 'port',\n+ 'rawdev',\n+ 'rcu',\n+ 'reorder',\n+ 'rib',\n+ 'ring',\n+ 'security',\n+ 'stack',\n+ 'telemetry',\n+ 'timer',\n+ ]\n+\n+ # Each test is marked with flag true/false\n+ # to indicate whether it can run in no-huge mode.\n+ fast_tests = [\n+ ['acl_autotest', true],\n+ ['atomic_autotest', false],\n+ ['bitops_autotest', true],\n+ ['byteorder_autotest', true],\n+ ['cksum_autotest', true],\n+ ['cmdline_autotest', true],\n+ ['common_autotest', true],\n+ ['cpuflags_autotest', true],\n+ ['debug_autotest', true],\n+ ['eal_flags_c_opt_autotest', false],\n+ ['eal_flags_main_opt_autotest', false],\n+ ['eal_flags_n_opt_autotest', false],\n+ ['eal_flags_hpet_autotest', false],\n+ ['eal_flags_no_huge_autotest', false],\n+ ['eal_flags_a_opt_autotest', false],\n+ ['eal_flags_b_opt_autotest', false],\n+ ['eal_flags_vdev_opt_autotest', false],\n+ ['eal_flags_r_opt_autotest', false],\n+ ['eal_flags_mem_autotest', false],\n+ ['eal_flags_file_prefix_autotest', false],\n+ ['eal_flags_misc_autotest', false],\n+ ['eal_fs_autotest', true],\n+ ['errno_autotest', true],\n+ ['ethdev_link_status', true],\n+ ['event_ring_autotest', true],\n+ ['fib_autotest', true],\n+ ['fib6_autotest', true],\n+ ['func_reentrancy_autotest', false],\n+ ['flow_classify_autotest', false],\n+ ['hash_autotest', true],\n+ ['interrupt_autotest', true],\n+ ['ipfrag_autotest', false],\n+ ['lcores_autotest', true],\n+ ['logs_autotest', true],\n+ ['lpm_autotest', true],\n+ ['lpm6_autotest', true],\n+ ['malloc_autotest', false],\n+ ['mbuf_autotest', false],\n+ ['mcslock_autotest', false],\n+ ['memcpy_autotest', true],\n+ ['memory_autotest', false],\n+ ['mempool_autotest', false],\n+ ['memzone_autotest', false],\n+ ['meter_autotest', true],\n+ ['multiprocess_autotest', false],\n+ ['per_lcore_autotest', true],\n+ ['pflock_autotest', true],\n+ ['prefetch_autotest', true],\n+ ['rcu_qsbr_autotest', true],\n+ ['red_autotest', true],\n+ ['rib_autotest', true],\n+ ['rib6_autotest', true],\n+ ['ring_autotest', true],\n+ ['rwlock_test1_autotest', true],\n+ ['rwlock_rda_autotest', true],\n+ ['rwlock_rds_wrm_autotest', true],\n+ ['rwlock_rde_wro_autotest', true],\n+ ['sched_autotest', true],\n+ ['security_autotest', false],\n+ ['spinlock_autotest', true],\n+ ['stack_autotest', false],\n+ ['stack_lf_autotest', false],\n+ ['string_autotest', true],\n+ ['table_autotest', true],\n+ ['tailq_autotest', true],\n+ ['ticketlock_autotest', true],\n+ ['timer_autotest', false],\n+ ['user_delay_us', true],\n+ ['version_autotest', true],\n+ ['crc_autotest', true],\n+ ['distributor_autotest', false],\n+ ['eventdev_common_autotest', true],\n+ ['fbarray_autotest', true],\n+ ['hash_readwrite_func_autotest', false],\n+ ['ipsec_autotest', true],\n+ ['kni_autotest', false],\n+ ['kvargs_autotest', true],\n+ ['member_autotest', true],\n+ ['metrics_autotest', true],\n+ ['power_cpufreq_autotest', false],\n+ ['power_autotest', true],\n+ ['power_kvm_vm_autotest', false],\n+ ['reorder_autotest', true],\n+ ['service_autotest', true],\n+ ['thash_autotest', true],\n+ ['trace_autotest', true],\n+ ]\n+\n+ perf_test_names = [\n+ 'ring_perf_autotest',\n+ 'mempool_perf_autotest',\n+ 'memcpy_perf_autotest',\n+ 'hash_perf_autotest',\n+ 'timer_perf_autotest',\n+ 'reciprocal_division',\n+ 'reciprocal_division_perf',\n+ 'lpm_perf_autotest',\n+ 'rib_slow_autotest',\n+ 'fib_slow_autotest',\n+ 'fib_perf_autotest',\n+ 'red_all',\n+ 'barrier_autotest',\n+ 'hash_multiwriter_autotest',\n+ 'timer_racecond_autotest',\n+ 'efd_autotest',\n+ 'hash_functions_autotest',\n+ 'member_perf_autotest',\n+ 'efd_perf_autotest',\n+ 'lpm6_perf_autotest',\n+ 'rib6_slow_autotest',\n+ 'fib6_slow_autotest',\n+ 'fib6_perf_autotest',\n+ 'rcu_qsbr_perf_autotest',\n+ 'red_perf',\n+ 'distributor_perf_autotest',\n+ 'pmd_perf_autotest',\n+ 'stack_perf_autotest',\n+ 'stack_lf_perf_autotest',\n+ 'rand_perf_autotest',\n+ 'hash_readwrite_perf_autotest',\n+ 'hash_readwrite_lf_perf_autotest',\n+ 'trace_perf_autotest',\n+ 'ipsec_perf_autotest',\n+ ]\n+\n+ driver_test_names = [\n+ 'cryptodev_aesni_mb_autotest',\n+ 'cryptodev_aesni_gcm_autotest',\n+ 'cryptodev_cn9k_autotest',\n+ 'cryptodev_cn10k_autotest',\n+ 'cryptodev_dpaa_sec_autotest',\n+ 'cryptodev_dpaa2_sec_autotest',\n+ 'cryptodev_null_autotest',\n+ 'cryptodev_octeontx2_autotest',\n+ 'cryptodev_openssl_autotest',\n+ 'cryptodev_openssl_asym_autotest',\n+ 'cryptodev_qat_autotest',\n+ 'cryptodev_sw_armv8_autotest',\n+ 'cryptodev_sw_kasumi_autotest',\n+ 'cryptodev_sw_mvsam_autotest',\n+ 'cryptodev_sw_snow3g_autotest',\n+ 'cryptodev_sw_zuc_autotest',\n+ 'eventdev_selftest_octeontx',\n+ 'eventdev_selftest_sw',\n+ 'rawdev_autotest',\n+ ]\n+\n+ dump_test_names = [\n+ 'dump_struct_sizes',\n+ 'dump_mempool',\n+ 'dump_malloc_stats',\n+ 'dump_devargs',\n+ 'dump_log_types',\n+ 'dump_ring',\n+ 'dump_physmem',\n+ 'dump_memzone',\n+ ]\n+endif\n \n # The following linkages are an exception to allow running the\n # unit tests without requiring that the developer install the\n@@ -362,7 +533,7 @@ endif\n if dpdk_conf.has('RTE_EVENT_SKELETON')\n test_deps += 'event_skeleton'\n endif\n-if dpdk_conf.has('RTE_LIB_TELEMETRY')\n+if not(is_windows) and dpdk_conf.has('RTE_LIB_TELEMETRY')\n test_sources += ['test_telemetry_json.c', 'test_telemetry_data.c']\n fast_tests += [['telemetry_json_autotest', true], ['telemetry_data_autotest', true]]\n endif\n", "prefixes": [ "v1", "13/13" ] }{ "id": 97031, "url": "