Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/89337/?format=api
http://patches.dpdk.org/api/patches/89337/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20210317071625.13041-2-haiyangx.zhao@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": "<20210317071625.13041-2-haiyangx.zhao@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20210317071625.13041-2-haiyangx.zhao@intel.com", "date": "2021-03-17T07:16:21", "name": "[V1,1/5] framework/exception: add new exception VerifySkip", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "4501906065dc0d566dd53370dcd2d58580def9c8", "submitter": { "id": 1978, "url": "http://patches.dpdk.org/api/people/1978/?format=api", "name": "Zhao, HaiyangX", "email": "haiyangx.zhao@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20210317071625.13041-2-haiyangx.zhao@intel.com/mbox/", "series": [ { "id": 15726, "url": "http://patches.dpdk.org/api/series/15726/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=15726", "date": "2021-03-17T07:16:20", "name": "framework: add a proposal of recognizing pkgs", "version": 1, "mbox": "http://patches.dpdk.org/series/15726/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/89337/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/89337/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 495D3A054F;\n\tWed, 17 Mar 2021 08:25:39 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C6F70242B2B;\n\tWed, 17 Mar 2021 08:25:38 +0100 (CET)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id 372E74014D\n for <dts@dpdk.org>; Wed, 17 Mar 2021 08:25:38 +0100 (CET)", "from fmsmga008.fm.intel.com ([10.253.24.58])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Mar 2021 00:25:37 -0700", "from unknown (HELO localhost.localdomain) ([10.240.183.57])\n by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Mar 2021 00:25:36 -0700" ], "IronPort-SDR": [ "\n S+Cs4B/CFkg8dGAN9SBq5CbPIv20JFKuswlHCyaVqZjrs65o6/l2cOsgLZUsZsSC7kffRd3sAm\n lDT+30+rRzvw==", "\n ESm4O72eyQeNvPADXhV7wYaFlPigZxNNq6b0eEKgVEl0pFcLhXC9NNJ3CfqO0bvhI+ld1PMSXj\n v+LOSVpFZYXg==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9925\"; a=\"209369035\"", "E=Sophos;i=\"5.81,255,1610438400\"; d=\"scan'208\";a=\"209369035\"", "E=Sophos;i=\"5.81,255,1610438400\"; d=\"scan'208\";a=\"405829285\"" ], "From": "Haiyang Zhao <haiyangx.zhao@intel.com>", "To": "dts@dpdk.org", "Cc": "Lijuan.Tu@intel.com,\n\tHaiyang Zhao <haiyangx.zhao@intel.com>", "Date": "Wed, 17 Mar 2021 15:16:21 +0800", "Message-Id": "<20210317071625.13041-2-haiyangx.zhao@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20210317071625.13041-1-haiyangx.zhao@intel.com>", "References": "<20210317071625.13041-1-haiyangx.zhao@intel.com>", "Subject": "[dts] [PATCH V1 1/5] framework/exception: add new exception\n VerifySkip", "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": "this new type exeption is used for framework to handle\nthe cases which should be skipped.\n\nSigned-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>\n---\n framework/exception.py | 13 +++++++++++++\n 1 file changed, 13 insertions(+)", "diff": "diff --git a/framework/exception.py b/framework/exception.py\nindex cc2f724b..bdedd743 100644\n--- a/framework/exception.py\n+++ b/framework/exception.py\n@@ -35,6 +35,19 @@ class VerifyFailure(Exception):\n return repr(self.value)\n \n \n+class VerifySkip(Exception):\n+\n+ \"\"\"\n+ To be used within the test cases to verify if case should be skipped.\n+ \"\"\"\n+\n+ def __init__(self, value):\n+ self.value = value\n+\n+ def __str__(self):\n+ return repr(self.value)\n+\n+\n class SSHConnectionException(Exception):\n \n \"\"\"\n", "prefixes": [ "V1", "1/5" ] }{ "id": 89337, "url": "