Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76684/?format=api
http://patches.dpdk.org/api/patches/76684/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20200907111035.7697-9-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-9-yux.jiang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20200907111035.7697-9-yux.jiang@intel.com", "date": "2020-09-07T11:10:34", "name": "[V1,8/9] tests/TestSuite_virtio_unit_cryptodev_func: support meson build", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "07017df3b14dd87dc14f5fd722fba112e79c5479", "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-9-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/76684/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/76684/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 64530A04B7;\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 4276D1C0CC;\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 EC1D71BE0C\n for <dts@dpdk.org>; Mon, 7 Sep 2020 13:11: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 07 Sep 2020 04:11:31 -0700", "from unknown (HELO localhost.localdomain) ([10.240.183.80])\n by orsmga002.jf.intel.com with ESMTP; 07 Sep 2020 04:11:30 -0700" ], "IronPort-SDR": [ "\n 7Gy/2lWH3u5RwIBcQMtwHKRfriBai3fcz0OCLPDvFNhPc3qP9WCick2FICzyWK49fz6QmDO4Wm\n ROkY9auRiBXw==", "\n jBqifuTOKKn+tzZ+ScRIbmiIiYHrAmnYGZyO/DUJXVehI0gXy1ejXhNTh+uNcgX9aguaHEgtci\n FFOy0vpSFGKg==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9736\"; a=\"222197533\"", "E=Sophos;i=\"5.76,401,1592895600\"; d=\"scan'208\";a=\"222197533\"", "E=Sophos;i=\"5.76,401,1592895600\"; d=\"scan'208\";a=\"316841879\"" ], "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:34 +0800", "Message-Id": "<20200907111035.7697-9-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 8/9] tests/TestSuite_virtio_unit_cryptodev_func:\n\tsupport 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/TestSuite_virtio_unit_cryptodev_func.py | 15 +++++----------\n 1 file changed, 5 insertions(+), 10 deletions(-)", "diff": "diff --git a/tests/TestSuite_virtio_unit_cryptodev_func.py b/tests/TestSuite_virtio_unit_cryptodev_func.py\nindex d8f56e2..336af7a 100644\n--- a/tests/TestSuite_virtio_unit_cryptodev_func.py\n+++ b/tests/TestSuite_virtio_unit_cryptodev_func.py\n@@ -43,8 +43,8 @@ import cryptodev_common as cc\n \n class VirtioCryptodevUnitTest(TestCase):\n def set_up_all(self):\n- self.sample_app= \"./examples/vhost_crypto/build/vhost-crypto\"\n- self.user_app = \"./{target}/app/test\".format(target=self.dut.target)\n+ self.sample_app = self.dut.apps_name['vhost_crypto']\n+ self.user_app = self.dut.apps_name['test']\n \n self.vm0, self.vm0_dut = None, None\n self.dut.skip_setup = True\n@@ -58,7 +58,7 @@ class VirtioCryptodevUnitTest(TestCase):\n self.dut.skip_setup = False\n cc.build_dpdk_with_cryptodev(self)\n cc.bind_qat_device(self)\n- self.build_vhost_app()\n+ self.dut.build_dpdk_apps(\"./examples/vhost_crypto\")\n \n self.vf_assign_method = \"vfio-pci\"\n self.dut.setup_modules(None, self.vf_assign_method, None)\n@@ -86,12 +86,6 @@ class VirtioCryptodevUnitTest(TestCase):\n def dut_execut_cmd(self, cmdline, ex='#', timout=30):\n return self.dut.send_expect(cmdline, ex, timout)\n \n- def build_vhost_app(self):\n- out = self.dut_execut_cmd(\"make -C ./examples/vhost_crypto\")\n-\n- self.verify(\"Error\" not in out, \"compilation error 1\")\n- self.verify(\"No such file\" not in out, \"compilation error 2\")\n-\n def get_vhost_eal(self):\n default_eal_opts = {\n \"c\": None,\n@@ -202,7 +196,8 @@ class VirtioCryptodevUnitTest(TestCase):\n self.used_dut_port = None\n \n self.dut_execut_cmd(\"^C\", \"# \")\n- self.dut_execut_cmd(\"killall -s INT vhost-crypto\")\n+ self.app_name = self.sample_app[self.sample_app.rfind('/')+1:]\n+ self.dut.send_expect(\"killall -s INT %s\" % self.app_name, \"#\")\n self.dut_execut_cmd(\"killall -s INT qemu-system-x86_64\")\n self.dut_execut_cmd(\"rm -r /tmp/*\")\n \n", "prefixes": [ "V1", "8/9" ] }{ "id": 76684, "url": "