Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/90356/?format=api
https://patches.dpdk.org/api/patches/90356/?format=api", "web_url": "https://patches.dpdk.org/project/dts/patch/20210222111928.21243-1-skalal@marvell.com/", "project": { "id": 3, "url": "https://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": "<20210222111928.21243-1-skalal@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20210222111928.21243-1-skalal@marvell.com", "date": "2021-02-22T11:19:28", "name": "tests/TestSuite_unit_tests_event_timer.py: Added an identifier for the \"test\" app.", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "b41e1f05bdc7d94e2aa9c2f06bb23dee270a8c0b", "submitter": { "id": 2167, "url": "https://patches.dpdk.org/api/people/2167/?format=api", "name": "", "email": "skalal@marvell.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dts/patch/20210222111928.21243-1-skalal@marvell.com/mbox/", "series": [ { "id": 16055, "url": "https://patches.dpdk.org/api/series/16055/?format=api", "web_url": "https://patches.dpdk.org/project/dts/list/?series=16055", "date": "2021-02-22T11:19:28", "name": "tests/TestSuite_unit_tests_event_timer.py: Added an identifier for the \"test\" app.", "version": 1, "mbox": "https://patches.dpdk.org/series/16055/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/90356/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/90356/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id B8E49A09E4;\n\tThu, 1 Apr 2021 13:21:57 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A531314108C;\n\tThu, 1 Apr 2021 13:21:57 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id A06BC4003C\n for <dts@dpdk.org>; Mon, 22 Feb 2021 12:19:35 +0100 (CET)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id\n 11MBJWiv027619 for <dts@dpdk.org>; Mon, 22 Feb 2021 03:19:34 -0800", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com with ESMTP id 36u2tu3pc0-2\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dts@dpdk.org>; Mon, 22 Feb 2021 03:19:33 -0800", "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Mon, 22 Feb 2021 03:19:32 -0800", "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Mon, 22 Feb 2021 03:19:32 -0800", "from localhost.marvell.com (unknown [10.28.8.29])\n by maili.marvell.com (Postfix) with ESMTP id 888023F703F;\n Mon, 22 Feb 2021 03:19:31 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : mime-version : content-type; s=pfpt0220;\n bh=HYI59iz7TrfOCaGRgVEZagqvJ/jn8ejPeNojxAqxll0=;\n b=T3tLg2rbkMTZCuOlldaEoe8CLKWGr84tC+kr2SrLbdNmCUCo2k30Zf7auQIr9JCTwJDt\n BJ/X9vkgNR5tZ1T+K9t7jmGO8oOKO6MH2YaP1LztP0BZv2XnYfSKocm4ZmQmUiXgmQIi\n I8dRIn8BqDk6gWk0eG6DzItQ4vlIoifqpyzglL89SicLRGvG14h71fbbC+hT8A/qp8Zx\n tEeJywIMKHxDKClZMqZgFyIpvyQmMwJj5h9oqjj639yBDOn5DeOMMUaPWbfmIdwAGs1r\n Wr8Xt/6RF/DeqPJPckdXxfCalrDduN7lAqlju4+ZJRYVnJIAbC0lEBUmjXHsLDaOm2lB gQ==", "From": "<skalal@marvell.com>", "To": "<dts@dpdk.org>", "CC": "<zzhou@marvell.com>, <pvukkisala@marvell.com>, skalal <skalal@marvell.com>", "Date": "Mon, 22 Feb 2021 16:49:28 +0530", "Message-ID": "<20210222111928.21243-1-skalal@marvell.com>", "X-Mailer": "git-send-email 2.9.5", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761\n definitions=2021-02-22_02:2021-02-18,\n 2021-02-22 signatures=0", "X-Mailman-Approved-At": "Thu, 01 Apr 2021 13:21:56 +0200", "Subject": "[dts] [PATCH] tests/TestSuite_unit_tests_event_timer.py: Added an\n identifier for the \"test\" app.", "X-BeenThere": "dts@dpdk.org", "X-Mailman-Version": "2.1.29", "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: skalal <skalal@marvell.com>\n\nSigned-off-by: skalal <skalal@marvell.com>\n---\n tests/TestSuite_unit_tests_event_timer.py | 9 ++++-----\n 1 file changed, 4 insertions(+), 5 deletions(-)", "diff": "diff --git a/tests/TestSuite_unit_tests_event_timer.py b/tests/TestSuite_unit_tests_event_timer.py\nindex fcb54cf..22c316e 100644\n--- a/tests/TestSuite_unit_tests_event_timer.py\n+++ b/tests/TestSuite_unit_tests_event_timer.py\n@@ -52,10 +52,11 @@ class TestUnitTestEventTimer(TestCase):\n self.coremask = utils.create_mask(cores)\n # Based on h/w type, choose how many ports to use\n self.dut_ports = self.dut.get_ports()\n+ self.app_name = self.dut.apps_name['test']\n \n if self.nic == \"cavium_a063\" or self.nic == \"cavium_a064\":\n self.eventdev_device_bus_id = \"0002:0e:00.0\"\n- self.eventdev_device_id = \"a0f9\" \n+ self.eventdev_device_id = \"a0f9\"\n #### Bind evendev device ####\n self.dut.bind_eventdev_port(port_to_bind=self.eventdev_device_bus_id)\n \n@@ -65,7 +66,6 @@ class TestUnitTestEventTimer(TestCase):\n self.eventdev_timer_device_bus_id = \"0000:0a:01.0\"\n self.dut.bind_eventdev_port(port_to_bind=self.eventdev_timer_device_bus_id)\n \n-\n def set_up(self):\n \"\"\"\n Run before each test case.\n@@ -78,15 +78,14 @@ class TestUnitTestEventTimer(TestCase):\n \"\"\"\n \n if self.nic == \"cavium_a063\" or self.nic == \"cavium_a064\":\n- self.dut.send_expect(\"./%s/app/test -n 1 -c %s -w %s,single_ws=1,tim_stats_ena=1\" % (self.target, self.coremask, self.eventdev_device_bus_id), \"R.*T.*E.*>.*>\", 60)\n+ self.dut.send_expect(\"./%s -n 1 -c %s -w %s,single_ws=1,tim_stats_ena=1\" % (self.app_name, self.coremask, self.eventdev_device_bus_id), \"R.*T.*E.*>.*>\", 60)\n elif self.nic == \"cavium_a034\":\n- self.dut.send_expect(\"./%s/app/test -n 1 -c %s -w %s,timvf_stats=1\" % (self.target, self.coremask, self.eventdev_timer_device_bus_id), \"R.*T.*E.*>.*>\", 60)\n+ self.dut.send_expect(\"./%s -n 1 -c %s -w %s,timvf_stats=1\" % (self.app_name, self.coremask, self.eventdev_timer_device_bus_id), \"R.*T.*E.*>.*>\", 60)\n out = self.dut.send_expect(\"event_timer_adapter_test\", \"RTE>>\", 300)\n self.dut.send_expect(\"quit\", \"# \")\n self.verify(\"Test OK\" in out, \"Test failed\")\n return 'SUCCESS'\n \n- \n def tear_down(self):\n \"\"\"\n Run after each test case.\n", "prefixes": [] }{ "id": 90356, "url": "