Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76837/?format=api
http://patches.dpdk.org/api/patches/76837/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20200908071825.118583-3-junx.w.zhou@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": "<20200908071825.118583-3-junx.w.zhou@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20200908071825.118583-3-junx.w.zhou@intel.com", "date": "2020-09-08T07:17:49", "name": "[02/38] tests/TestSuite_coremask.py: adapt to support both meson and makefile build", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "777d93f8c1e7e8ad73940f2fa5a3341037187b4d", "submitter": { "id": 1646, "url": "http://patches.dpdk.org/api/people/1646/?format=api", "name": "Zhou, JunX W", "email": "junx.w.zhou@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20200908071825.118583-3-junx.w.zhou@intel.com/mbox/", "series": [ { "id": 12010, "url": "http://patches.dpdk.org/api/series/12010/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=12010", "date": "2020-09-08T07:17:47", "name": "Modify suites to support meson", "version": 1, "mbox": "http://patches.dpdk.org/series/12010/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/76837/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/76837/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 98A80A04B1;\n\tTue, 8 Sep 2020 09:29:20 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 725CB1BF8A;\n\tTue, 8 Sep 2020 09:29:20 +0200 (CEST)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by dpdk.org (Postfix) with ESMTP id 66ED82BAB\n for <dts@dpdk.org>; Tue, 8 Sep 2020 09:29:19 +0200 (CEST)", "from orsmga001.jf.intel.com ([10.7.209.18])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Sep 2020 00:29:19 -0700", "from unknown (HELO localhost.localdomain) ([10.240.183.52])\n by orsmga001.jf.intel.com with ESMTP; 08 Sep 2020 00:29:17 -0700" ], "IronPort-SDR": [ "\n v0DaQ0nsGVe+I23C5tHNoJT7X6A4LjpftB534Vpfy6WRu/gUtqVklQYRckMKwhN76BpLNWB9BF\n RDnT73TqswLg==", "\n 1QtAwrD1R265oIwQb7vKWfNPDwlwZnwGIqiWunNDmXkYYWFsLH+hjzdrqOybHFZNU1P8teYGim\n Xl8LCJR1khTw==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9737\"; a=\"219646527\"", "E=Sophos;i=\"5.76,404,1592895600\"; d=\"scan'208\";a=\"219646527\"", "E=Sophos;i=\"5.76,404,1592895600\"; d=\"scan'208\";a=\"377432576\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "\"Zhou, Jun\" <junx.w.zhou@intel.com>", "To": "dts@dpdk.org", "Cc": "Zhou jun <junx.w.zhou@intel.com>", "Date": "Tue, 8 Sep 2020 07:17:49 +0000", "Message-Id": "<20200908071825.118583-3-junx.w.zhou@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20200908071825.118583-1-junx.w.zhou@intel.com>", "References": "<20200908071825.118583-1-junx.w.zhou@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dts] [dts 02/38] tests/TestSuite_coremask.py: adapt to support\n\tboth meson and makefile 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: Zhou jun <junx.w.zhou@intel.com>\n\nSigned-off-by: Zhou jun <junx.w.zhou@intel.com>\n---\n tests/TestSuite_coremask.py | 16 +++++++---------\n 1 file changed, 7 insertions(+), 9 deletions(-)", "diff": "diff --git a/tests/TestSuite_coremask.py b/tests/TestSuite_coremask.py\nindex 7299e0c..4e6cd02 100644\n--- a/tests/TestSuite_coremask.py\n+++ b/tests/TestSuite_coremask.py\n@@ -17,7 +17,7 @@ from test_case import TestCase\n # Test class.\n #\n \n-command_line = \"\"\"./%s/app/test -c %s -n %d --log-level=\"lib.eal,8\" \"\"\"\n+command_line = \"\"\"./%s -c %s -n %d --log-level=\"lib.eal,8\" \"\"\"\n \n \n class TestCoremask(TestCase):\n@@ -37,7 +37,7 @@ class TestCoremask(TestCase):\n \n self.port_mask = utils.create_mask(self.dut.get_ports(self.nic))\n self.mem_channel = self.dut.get_memory_channels()\n-\n+ self.app_test_path = self.dut.apps_name['test']\n self.all_cores = self.dut.get_core_list(\"all\")\n \n def set_up(self):\n@@ -71,7 +71,7 @@ class TestCoremask(TestCase):\n \n core_mask = utils.create_mask([core])\n \n- command = command_line % (self.target, core_mask,\n+ command = command_line % (self.app_test_path, core_mask,\n self.mem_channel)\n \n out = self.dut.send_expect(command, \"RTE>>\", 10)\n@@ -94,7 +94,7 @@ class TestCoremask(TestCase):\n \n first_core=self.all_cores[0]\n \n- command = command_line % (self.target, core_mask, self.mem_channel)\n+ command = command_line % (self.app_test_path, core_mask, self.mem_channel)\n \n out = self.dut.send_expect(command, \"RTE>>\", 10)\n self.verify(\"EAL: Master lcore %s is ready\" % first_core in out,\n@@ -116,16 +116,14 @@ class TestCoremask(TestCase):\n \"\"\"\n Check coremask parsing for more cores than available.\n \"\"\"\n-\n- command_line = \"\"\"./%s/app/test -c %s -n %d --log-level=\"lib.eal,8\" 2>&1 |tee out\"\"\"\n+ command_line = \"\"\"./%s -c %s -n %d --log-level=\"lib.eal,8\" 2>&1 |tee out\"\"\"\n \n # Create a extremely big coremask\n big_coremask_size = self.get_available_max_lcore()\n big_coremask = \"0x\"\n for _ in range(0, big_coremask_size, 4):\n big_coremask += \"f\"\n-\n- command = command_line % (self.target, big_coremask, self.mem_channel)\n+ command = command_line % (self.app_test_path, big_coremask, self.mem_channel)\n try:\n out = self.dut.send_expect(command, \"RTE>>\", 10)\n except:\n@@ -156,7 +154,7 @@ class TestCoremask(TestCase):\n \n for coremask in wrong_coremasks:\n \n- command = command_line % (self.target, coremask, self.mem_channel)\n+ command = command_line % (self.app_test_path, coremask, self.mem_channel)\n try:\n out = self.dut.send_expect(command, \"# \", 5)\n self.verify(\"EAL: invalid coremask\" in out,\n", "prefixes": [ "02/38" ] }{ "id": 76837, "url": "