From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f172.google.com (mail-yw0-f172.google.com [209.85.161.172]) by dpdk.org (Postfix) with ESMTP id AE5B0370 for ; Tue, 29 Nov 2016 02:55:33 +0100 (CET) Received: by mail-yw0-f172.google.com with SMTP id a10so128815911ywa.3 for ; Mon, 28 Nov 2016 17:55:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0tobUu0HO3X/7CVjavXo30j5gRWLj6NY3Jk1R378bLc=; b=CT/Pog0FZ6cDaioYgU2JLxxvWxddHv+CKPmGeNA1OzdNUjF5xouRgXSZ6lSqGRpxRp XjfKBmaTMd5x5uob6kr3EA263ThOxSd+NH76nm22jfc9itU24lvo+4vX44PQSzW7TZDd HEgYmgOxgYSamDtnOj5K4ZHMlmwTmVwMMCzQs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0tobUu0HO3X/7CVjavXo30j5gRWLj6NY3Jk1R378bLc=; b=FgSy7D17MYnUQBUYevjlxGS9cIaXyl8jAOPCHLwxFAUaRrWlbOi1Iel26cIv425bQw hCqU6on8pifdD3X5vqJ6/b6MrW5p+T9+2WrPn6apxJsvxHZE3ViRYumRY3hqKc7zL3yp 7InUn+j38VNdnvA/sKULwYvXnDlxxgMQManVDD6gvA2MevmdA4WiwEIXB+ZY1E3SiomY lEmsZ9RMGtXZmSZr+LKdioGTv0eqPrZhKVSRurMrAMpFzTxn6GVGTVoLWpV7pNsuE/af iaZW4JLc8cY9b+QDLSTo7MpugemtepBe771/rB7yAN7XaHGWvgrIGw62MmwAYOpLrccf /mGA== X-Gm-Message-State: AKaTC03dISOEBy1MQyLzjLdsFA5z5VvMxZBURjToO4PZjW6vX1Q4mWgXhUQ/RPj4TIb9KhrPik84seIC8AxtMJdY X-Received: by 10.129.138.70 with SMTP id a67mr28466093ywg.290.1480384532987; Mon, 28 Nov 2016 17:55:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.11.130 with HTTP; Mon, 28 Nov 2016 17:55:32 -0800 (PST) In-Reply-To: References: <1480055749-29512-1-git-send-email-jianbo.liu@linaro.org> From: Jianbo Liu Date: Tue, 29 Nov 2016 09:55:32 +0800 Message-ID: To: "Xu, HuilongX" Cc: "dts@dpdk.org" Content-Type: text/plain; charset=UTF-8 Subject: Re: [dts] [PATCH] tests unit_test_eal: fix test_pci unit test 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, 29 Nov 2016 01:55:33 -0000 On 29 November 2016 at 09:39, Xu, HuilongX wrote: > Hi jianbo, > If we run unit pci test case, we must re-compile test app and enable CONFIG_RTE_APP_TEST_RESOURCE_TAR. > We will submit a patch for compile with enable CONFIG_RTE_APP_TEST_RESOURCE_TAR, and change test app name to test_pci. > Thanks a lot > Yes. But it depends on the user's requirement. If he want to enable CONFIG_RTE_APP_TEST_RESOURCE_TAR, he can change it by specifying a configuration patch with "dts --patch " argument. >> -----Original Message----- >> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Jianbo Liu >> Sent: Friday, November 25, 2016 2:36 PM >> To: dts@dpdk.org >> Cc: Jianbo Liu >> Subject: [dts] [PATCH] tests unit_test_eal: fix test_pci unit test >> >> There is no app/test_pci, uses app/test instead. >> >> Signed-off-by: Jianbo Liu >> --- >> tests/TestSuite_unit_tests_eal.py | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/tests/TestSuite_unit_tests_eal.py >> b/tests/TestSuite_unit_tests_eal.py >> index d27ba39..07d423c 100644 >> --- a/tests/TestSuite_unit_tests_eal.py >> +++ b/tests/TestSuite_unit_tests_eal.py >> @@ -158,7 +158,7 @@ class TestUnitTestsEal(TestCase): >> Run pci autotest. >> """ >> # should re-compile test app, this is only a demo. will >> implementation after framework support >> - self.dut.send_expect("./%s/app/test_pci -n 1 -c f" % >> self.target, "R.*T.*E.*>.*>" , self.start_test_time) >> + self.dut.send_expect("./%s/app/test -n 1 -c f" % self.target, >> "R.*T.*E.*>.*>" , self.start_test_time) >> out = self.dut.send_expect("pci_autotest", "RTE>>", >> self.run_cmd_time) >> self.dut.send_expect("quit", "# ") >> self.verify("Test OK" in out, "Test failed") >> -- >> 2.5.5 >