From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id E060ECF9 for ; Fri, 22 May 2015 11:04:57 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 22 May 2015 02:04:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,474,1427785200"; d="scan'208";a="733612566" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga002.jf.intel.com with ESMTP; 22 May 2015 02:04:56 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t4M94r55004122; Fri, 22 May 2015 17:04:53 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t4M94pl5014434; Fri, 22 May 2015 17:04:53 +0800 Received: (from yliu84x@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t4M94pEP014430; Fri, 22 May 2015 17:04:51 +0800 From: "Jiajia, Sun" To: dts@dpdk.org Date: Fri, 22 May 2015 17:04:09 +0800 Message-Id: <1432285452-14286-17-git-send-email-sunx.jiajia@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1432285452-14286-1-git-send-email-sunx.jiajia@intel.com> References: <1432285452-14286-1-git-send-email-sunx.jiajia@intel.com> Subject: [dts] [PATCH v2 16/19] Make test_case know its suite name X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2015 09:04:58 -0000 From: sjiajiax Signed-off-by: sjiajiax --- framework/test_case.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/test_case.py b/framework/test_case.py index 3d2e2dc..a519691 100644 --- a/framework/test_case.py +++ b/framework/test_case.py @@ -40,10 +40,11 @@ from settings import DRIVERS, NICS, nic_name_from_type class TestCase(object): - def __init__(self, dut, tester, target): + def __init__(self, dut, tester, target, suite): self.dut = dut self.tester = tester self.target = target + self.suite = suite self.nics = [] for portid in range(len(self.dut.ports_info)): nic_type = self.dut.ports_info[portid]['type'] -- 1.9.3