Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76685/?format=api
http://patches.dpdk.org/api/patches/76685/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20200907111035.7697-10-yux.jiang@intel.com/", "project": { "id": 3, "url": "http://patches.dpdk.org/api/projects/3/?format=api", "name": "DTS", "link_name": "dts", "list_id": "dts.dpdk.org", "list_email": "dts@dpdk.org", "web_url": "", "scm_url": "git://dpdk.org/tools/dts", "webscm_url": "http://git.dpdk.org/tools/dts/", "list_archive_url": "https://inbox.dpdk.org/dts", "list_archive_url_format": "https://inbox.dpdk.org/dts/{}", "commit_url_format": "" }, "msgid": "<20200907111035.7697-10-yux.jiang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20200907111035.7697-10-yux.jiang@intel.com", "date": "2020-09-07T11:10:35", "name": "[V1,9/9] tests/compress_common: support meson build", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "59617d63722d1a27ed2a43dafb5e7d852a096c31", "submitter": { "id": 1709, "url": "http://patches.dpdk.org/api/people/1709/?format=api", "name": "Yu Jiang", "email": "yux.jiang@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20200907111035.7697-10-yux.jiang@intel.com/mbox/", "series": [ { "id": 11990, "url": "http://patches.dpdk.org/api/series/11990/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=11990", "date": "2020-09-07T11:10:26", "name": "Modify suites to support meson & makefile", "version": 1, "mbox": "http://patches.dpdk.org/series/11990/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/76685/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/76685/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dts-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 95799A04DB;\n\tMon, 7 Sep 2020 13:11:34 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 8F0DA1C112;\n\tMon, 7 Sep 2020 13:11:34 +0200 (CEST)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 57F571BE0C\n for <dts@dpdk.org>; Mon, 7 Sep 2020 13:11:33 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 Sep 2020 04:11:33 -0700", "from unknown (HELO localhost.localdomain) ([10.240.183.80])\n by orsmga002.jf.intel.com with ESMTP; 07 Sep 2020 04:11:31 -0700" ], "IronPort-SDR": [ "\n mdHx/OA1Y1+mnGEfbHrXXHLDbwQf7zrB8nlOc995I2IYkoU54raPcl3WyndKc0ZRxtwqU00C7N\n fgPN+mVEZXTw==", "\n y8DQewE3y043/mLbhowCC31WXj4hrksyqFm1vSjbRA7NvLeOYCbktQnZ0rI+T50l6aNlboYyTZ\n I3eet7K+neqQ==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9736\"; a=\"222197537\"", "E=Sophos;i=\"5.76,401,1592895600\"; d=\"scan'208\";a=\"222197537\"", "E=Sophos;i=\"5.76,401,1592895600\"; d=\"scan'208\";a=\"316841886\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "\"Jiang, YuX\" <yux.jiang@intel.com>", "To": "dts@dpdk.org", "Cc": "\"Jiang,yu\" <yux.jiang@intel.com>, Jiang@dpdk.org", "Date": "Mon, 7 Sep 2020 19:10:35 +0800", "Message-Id": "<20200907111035.7697-10-yux.jiang@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20200907111035.7697-1-yux.jiang@intel.com>", "References": "<20200907111035.7697-1-yux.jiang@intel.com>", "Subject": "[dts] [PATCH V1 9/9] tests/compress_common: support meson build", "X-BeenThere": "dts@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "test suite reviews and discussions <dts.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dts/>", "List-Post": "<mailto:dts@dpdk.org>", "List-Help": "<mailto:dts-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>", "Errors-To": "dts-bounces@dpdk.org", "Sender": "\"dts\" <dts-bounces@dpdk.org>" }, "content": "From: \"Jiang,yu\" <yux.jiang@intel.com>\n\nadapt to support both meson and makefile build\n\nSigned-off-by: Jiang,yu <yux.jiang@intel.com>\n---\n tests/compress_common.py | 11 +++++------\n 1 file changed, 5 insertions(+), 6 deletions(-)", "diff": "diff --git a/tests/compress_common.py b/tests/compress_common.py\nindex 6bde1ce..4afdcde 100644\n--- a/tests/compress_common.py\n+++ b/tests/compress_common.py\n@@ -127,8 +127,7 @@ def run_unit(test_case, eal={}):\n default['n'] = mem_channels\n \n eal_str = get_opt_str(test_case, default, eal)\n- cmdline = \"./{target}/app/test {eal}\".format(target = test_case.dut.target,\n- eal = eal_str)\n+ cmdline = \"./{app_path} {eal}\".format(app_path = test_case.dut.apps_name['test'], eal= eal_str)\n test_case.dut.send_expect(cmdline, \">\", 30)\n out = test_case.dut.send_expect(\"compressdev_autotest\", \">\", 30)\n test_case.dut.send_expect(\"quit\", \"# \", 30)\n@@ -144,10 +143,10 @@ def run_compress_func(test_case, eal={}, opt={}):\n for each_file in input_file:\n test_case.logger.info(\"Testing file: {}\".format(each_file))\n \n- cmdline = \"./{target}/app/dpdk-test-compress-perf {eal}\\\n+ cmdline = \"./{app_path} {eal}\\\n -- --input-file {file} {opt}\"\n \n- cmdline = cmdline.format(target = test_case.dut.target,\n+ cmdline = cmdline.format(app_path = test_case.dut.apps_name['test-compress-perf'],\n eal = eal_str,\n file = each_file,\n opt = opt_str)\n@@ -177,10 +176,10 @@ def run_compress_perf(test_case, eal={}, opt={}):\n \n for each_seg in [1, 2, 4, 8, 16, 32]:\n test_case.logger.info(\"Testing file: {}, seg-sz: {}\".format(perf_file, each_seg * 1024))\n- cmdline = \"./{target}/app/dpdk-test-compress-perf {eal}\\\n+ cmdline = \"./{app_path} {eal}\\\n -- --input-file {file} --seg-sz {seg} {opt}\"\n \n- cmdline = cmdline.format(target = test_case.dut.target,\n+ cmdline = cmdline.format(app_path = test_case.dut.apps_name['test-compress-perf'],\n eal = eal_str,\n file = perf_file,\n seg = each_seg * 1024,\n", "prefixes": [ "V1", "9/9" ] }{ "id": 76685, "url": "