Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76360/?format=api
http://patches.dpdk.org/api/patches/76360/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20200903082839.30213-5-linglix.chen@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": "<20200903082839.30213-5-linglix.chen@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20200903082839.30213-5-linglix.chen@intel.com", "date": "2020-09-03T08:28:28", "name": "[04/15] tests/TestSuite_unit_tests_eal:update to support meson build", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "145260de4e8372a1b312cd59c7d209671eeb6853", "submitter": { "id": 1843, "url": "http://patches.dpdk.org/api/people/1843/?format=api", "name": "Lingli Chen", "email": "linglix.chen@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20200903082839.30213-5-linglix.chen@intel.com/mbox/", "series": [ { "id": 11919, "url": "http://patches.dpdk.org/api/series/11919/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=11919", "date": "2020-09-03T08:28:24", "name": "support meson build method", "version": 1, "mbox": "http://patches.dpdk.org/series/11919/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/76360/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/76360/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 14BB7A04D9;\n\tThu, 3 Sep 2020 10:30:34 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0CCD81C0B9;\n\tThu, 3 Sep 2020 10:30:34 +0200 (CEST)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 74CE0E07\n for <dts@dpdk.org>; Thu, 3 Sep 2020 10:30:31 +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 03 Sep 2020 01:30:31 -0700", "from unknown (HELO localhost.localdomain) ([10.240.183.80])\n by orsmga002.jf.intel.com with ESMTP; 03 Sep 2020 01:30:30 -0700" ], "IronPort-SDR": [ "\n j/aq46ECQ1DI0VNuAGZdgvguw+/9j5BW33RPTU8FwNAKb60v+MpDtg+JhDw7QCYQ28v5UH5lXJ\n /MY0IyBdsrxA==", "\n 1m6jpP+gNMnuv+vAcMo1AKIEwzDcib0lC5ss8FHIS0neb61Ykjf21mJWg6W4VGCxX2Qu7pPbgF\n QtHZew9PhkLw==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9732\"; a=\"221753259\"", "E=Sophos;i=\"5.76,386,1592895600\"; d=\"scan'208\";a=\"221753259\"", "E=Sophos;i=\"5.76,385,1592895600\"; d=\"scan'208\";a=\"315404173\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Chen Linglix <linglix.chen@intel.com>", "To": "dts@dpdk.org", "Cc": "Chen Linglix <linglix.chen@intel.com>", "Date": "Thu, 3 Sep 2020 16:28:28 +0800", "Message-Id": "<20200903082839.30213-5-linglix.chen@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20200903082839.30213-1-linglix.chen@intel.com>", "References": "<20200903082839.30213-1-linglix.chen@intel.com>", "Subject": "[dts] [dts 04/15] tests/TestSuite_unit_tests_eal:update to support\n\tmeson 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": "Signed-off-by: Chen Linglix <linglix.chen@intel.com>\n---\n tests/TestSuite_unit_tests_eal.py | 10 ++++++----\n 1 file changed, 6 insertions(+), 4 deletions(-)", "diff": "diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py\nindex 9c80663..99710a9 100644\n--- a/tests/TestSuite_unit_tests_eal.py\n+++ b/tests/TestSuite_unit_tests_eal.py\n@@ -36,7 +36,8 @@ class TestUnitTestsEal(TestCase):\n self.run_cmd_time = 180\n default_cores = '1S/4C/1T'\n eal_params = self.dut.create_eal_parameters(cores=default_cores)\n- self.test_app_cmdline = \"./%s/app/test %s\" % (self.target,eal_params)\n+ app_name = self.dut.apps_name['test']\n+ self.test_app_cmdline = app_name + eal_params\n \n def set_up(self):\n \"\"\"\n@@ -179,7 +180,7 @@ class TestUnitTestsEal(TestCase):\n \"\"\"\n \n eal_params = self.dut.create_eal_parameters()\n- self.dut.send_expect(\"./%s/app/test %s\" % (self.target,eal_params),\n+ self.dut.send_expect(self.test_app_cmdline, \n \"R.*T.*E.*>.*>\", self.start_test_time)\n out = self.dut.send_expect(\"hash_readwrite_lf_perf_autotest\",\n \"RTE>>\", self.run_cmd_time*3)\n@@ -192,7 +193,7 @@ class TestUnitTestsEal(TestCase):\n \"\"\"\n \n eal_params = self.dut.create_eal_parameters(cores='1S/4C/1T')\n- self.dut.send_expect(\"./%s/app/test %s\" % (self.target,eal_params),\n+ self.dut.send_expect(self.test_app_cmdline,\n \"R.*T.*E.*>.*>\", self.start_test_time)\n out = self.dut.send_expect(\"hash_readwrite_perf_autotest\",\n \"RTE>>\", self.run_cmd_time*3)\n@@ -208,7 +209,8 @@ class TestUnitTestsEal(TestCase):\n cmdline = self.test_app_cmdline\n else:\n # mask cores only on socket 0\n- cmdline = \"%s ./%s/app/test -n 1 -c 5\" % (self.dut.taskset(1), self.target)\n+ app_name = self.dut.apps_name['test']\n+ cmdline = self.dut.taskset(1)+ ' ' +app_name+' -n 1 -c 5' \n self.dut.send_expect(cmdline, \"R.*T.*E.*>.*>\", self.start_test_time)\n out = self.dut.send_expect(\"func_reentrancy_autotest\", \"RTE>>\", self.run_cmd_time)\n self.dut.send_expect(\"quit\", \"# \")\n", "prefixes": [ "04/15" ] }{ "id": 76360, "url": "