From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e23smtp09.au.ibm.com (e23smtp09.au.ibm.com [202.81.31.142]) by dpdk.org (Postfix) with ESMTP id 0606037B7 for ; Tue, 8 Mar 2016 11:08:02 +0100 (CET) Received: from localhost by e23smtp09.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 8 Mar 2016 20:07:59 +1000 Received: from d23dlp01.au.ibm.com (202.81.31.203) by e23smtp09.au.ibm.com (202.81.31.206) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 8 Mar 2016 20:07:57 +1000 X-IBM-Helo: d23dlp01.au.ibm.com X-IBM-MailFrom: gowrishankar.m@linux.vnet.ibm.com X-IBM-RcptTo: dts@dpdk.org Received: from d23relay10.au.ibm.com (d23relay10.au.ibm.com [9.190.26.77]) by d23dlp01.au.ibm.com (Postfix) with ESMTP id 3502A2CE805C for ; Tue, 8 Mar 2016 21:07:57 +1100 (EST) Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by d23relay10.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u28A7mXu8782188 for ; Tue, 8 Mar 2016 21:07:57 +1100 Received: from d23av02.au.ibm.com (localhost [127.0.0.1]) by d23av02.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u28A7OVJ025794 for ; Tue, 8 Mar 2016 21:07:24 +1100 Received: from chozha.in.ibm.com (chozha.in.ibm.com [9.124.124.138] (may be forged)) by d23av02.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u28A7Dh7024744; Tue, 8 Mar 2016 21:07:23 +1100 From: Gowrishankar To: dts Date: Tue, 8 Mar 2016 15:36:46 +0530 Message-Id: <1457431607-31596-9-git-send-email-gowrishankar.m@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1457431607-31596-1-git-send-email-gowrishankar.m@linux.vnet.ibm.com> References: <1457431607-31596-1-git-send-email-gowrishankar.m@linux.vnet.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16030810-0033-0000-0000-0000031D667A Subject: [dts] [PATCH v2 8/9] tests: fix coremask test to check expected EAL output 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: Tue, 08 Mar 2016 10:08:04 -0000 From: Gowri Shankar In expected output of EAL, there is type mismatch due to which test breaks. Signed-off-by: Gowrishankar --- tests/TestSuite_coremask.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/TestSuite_coremask.py b/tests/TestSuite_coremask.py index d1cc6e3..4f6f4bd 100644 --- a/tests/TestSuite_coremask.py +++ b/tests/TestSuite_coremask.py @@ -60,11 +60,11 @@ class TestCoremask(TestCase): out = self.dut.send_expect(command, "RTE>>", 10) - self.verify("EAL: Detected lcore %d as core" % core in out, - "Core %d not detected" % core) + self.verify("EAL: Detected lcore %s as core" % core in out, + "Core %s not detected" % core) - self.verify("EAL: Master lcore %d is ready" % core in out, - "Core %d not ready" % core) + self.verify("EAL: Master lcore %s is ready" % core in out, + "Core %s not ready" % core) self.dut.send_expect("quit", "# ", 10) @@ -86,11 +86,11 @@ class TestCoremask(TestCase): "Core 0 not detected") for core in self.all_cores[1:]: - self.verify("EAL: lcore %d is ready" % core in out, - "Core %d not ready" % core) + self.verify("EAL: lcore %s is ready" % core in out, + "Core %s not ready" % core) - self.verify("EAL: Detected lcore %d as core" % core in out, - "Core %d not detected" % core) + self.verify("EAL: Detected lcore %s as core" % core in out, + "Core %s not detected" % core) self.dut.send_expect("quit", "# ", 10) @@ -135,8 +135,8 @@ class TestCoremask(TestCase): for core in self.all_cores[1:]: - self.verify("EAL: Detected lcore %d as core" % core in out, - "Core %d not detected" % core) + self.verify("EAL: Detected lcore %s as core" % core in out, + "Core %s not detected" % core) self.dut.send_expect("quit", "# ", 10) -- 1.7.10.4