Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/105037/?format=api
http://patchwork.dpdk.org/api/patches/105037/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1638990000-3228-12-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": "<1638990000-3228-12-git-send-email-jizh@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1638990000-3228-12-git-send-email-jizh@linux.microsoft.com", "date": "2021-12-08T19:00:00", "name": "[v14,11/11] app/test: enable unit test on Windows", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "5380f1bf73e8ec122a2b3112ea5560436ce9e640", "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/1638990000-3228-12-git-send-email-jizh@linux.microsoft.com/mbox/", "series": [ { "id": 20895, "url": "http://patchwork.dpdk.org/api/series/20895/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=20895", "date": "2021-12-08T18:59:52", "name": "app/test: enable subset of tests on Windows", "version": 14, "mbox": "http://patchwork.dpdk.org/series/20895/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/105037/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/105037/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 4E975A00C2;\n\tWed, 8 Dec 2021 20:01:09 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id ACD604273E;\n\tWed, 8 Dec 2021 20:00:19 +0100 (CET)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 93F494115C\n for <dev@dpdk.org>; Wed, 8 Dec 2021 20:00:07 +0100 (CET)", "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 B3D8620B7193;\n Wed, 8 Dec 2021 11:00:06 -0800 (PST)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com B3D8620B7193", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1638990006;\n bh=Zqj3lPPs7loTrSB6z2muULoJrpLsmrber3xGK4Hybg4=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=lanB2n3646edaxPkIA3Fkzd/g4d2+ZqOWvVhi/apxZJ5/R6PDa3t61Zxsn5GLM+T4\n 9NZMpjBUSAsChrkeFOlmjiHyT9MFLB9L6bBX8v0HWtbs0okj4UGCrT82n7Onbydirl\n ZCyJ11E/s8dBTcKWVgYqTL7fe2GjNhjevgRkVHO0=", "From": "Jie Zhou <jizh@linux.microsoft.com>", "To": "dev@dpdk.org", "Cc": "dmitry.kozliuk@gmail.com, bruce.richardson@intel.com,\n roretzla@microsoft.com, navasile@linux.microsoft.com,\n dmitrym@microsoft.com, pallavi.kadam@intel.com, talshn@nvidia.com,\n thomas@monjalon.net, aconole@redhat.com", "Subject": "[PATCH v14 11/11] app/test: enable unit test on Windows", "Date": "Wed, 8 Dec 2021 11:00:00 -0800", "Message-Id": "<1638990000-3228-12-git-send-email-jizh@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1638990000-3228-1-git-send-email-jizh@linux.microsoft.com>", "References": "<1638928262-13177-1-git-send-email-jizh@linux.microsoft.com>\n <1638990000-3228-1-git-send-email-jizh@linux.microsoft.com>", "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" }, "content": "Enable a subset of unit tests for Windows CI\n\n- For driver tests, driver owners should enable corresponding tests when\n enabling driver for Windows. For example, the cryptodev tests will be\n enabled by \"patch-18949: app/test: enable crypto unit tests on Windows\"\n (which depends on this patchset to be merged).\n- For dump tests, currently the tests hang on Windows which require\n further investigation.\n- For telemetry tests, it has POSIX socket specific codes which require\n replacement for Windows. Will investigate and work on a separate patch.\n\nSigned-off-by: Jie Zhou <jizh@linux.microsoft.com>\nAcked-by: Bruce Richardson <bruce.richardson@intel.com>\n\n---\n app/test/meson.build | 111 ++++++++++++++++++++++---------------------\n 1 file changed, 58 insertions(+), 53 deletions(-)", "diff": "diff --git a/app/test/meson.build b/app/test/meson.build\nindex 97ee83029e..fcf38729e7 100644\n--- a/app/test/meson.build\n+++ b/app/test/meson.build\n@@ -1,12 +1,6 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017 Intel Corporation\n \n-if is_windows\n- build = false\n- reason = 'not supported on Windows'\n- subdir_done()\n-endif\n-\n if not get_option('tests')\n subdir_done()\n endif\n@@ -158,32 +152,14 @@ test_sources = files(\n )\n \n test_deps = [\n- 'acl',\n 'bus_pci',\n 'bus_vdev',\n- 'bpf',\n 'cfgfile',\n 'cmdline',\n- 'cryptodev',\n- 'distributor',\n 'dmadev',\n- 'efd',\n 'ethdev',\n- 'eventdev',\n- 'fib',\n- 'flow_classify',\n- 'graph',\n 'hash',\n- 'ipsec',\n- 'lpm',\n- 'member',\n- 'node',\n- 'pipeline',\n- 'port',\n- 'rawdev',\n 'rcu',\n- 'reorder',\n- 'rib',\n 'ring',\n 'security',\n 'stack',\n@@ -334,39 +310,68 @@ perf_test_names = [\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- 'dmadev_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 \n+if not is_windows\n+ test_deps += [\n+ 'acl',\n+ 'bpf',\n+ 'cryptodev',\n+ 'distributor',\n+ 'efd',\n+ 'eventdev',\n+ 'fib',\n+ 'flow_classify',\n+ 'graph',\n+ 'ipsec',\n+ 'lpm',\n+ 'member',\n+ 'node',\n+ 'pipeline',\n+ 'port',\n+ 'rawdev',\n+ 'reorder',\n+ 'rib',\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+ 'dmadev_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 # DPDK libraries. Explicit linkage of drivers (plugin libraries)\n@@ -385,7 +390,7 @@ if dpdk_conf.has('RTE_LIB_METRICS')\n test_sources += ['test_metrics.c']\n fast_tests += [['metrics_autotest', true]]\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": [ "v14", "11/11" ] }{ "id": 105037, "url": "