From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 381BE36E for ; Tue, 29 Nov 2016 02:39:29 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 28 Nov 2016 17:39:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,714,1473145200"; d="scan'208";a="10788608" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga002.jf.intel.com with ESMTP; 28 Nov 2016 17:39:28 -0800 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 28 Nov 2016 17:39:28 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 28 Nov 2016 17:39:28 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.239]) by shsmsx102.ccr.corp.intel.com ([169.254.2.239]) with mapi id 14.03.0248.002; Tue, 29 Nov 2016 09:39:25 +0800 From: "Xu, HuilongX" To: Jianbo Liu , "dts@dpdk.org" Thread-Topic: [dts] [PATCH] tests unit_test_eal: fix test_pci unit test Thread-Index: AQHSRxU1Xj1KDtZpskO+M1mC2kH+WaDvMwDg Date: Tue, 29 Nov 2016 01:39:24 +0000 Message-ID: References: <1480055749-29512-1-git-send-email-jianbo.liu@linaro.org> In-Reply-To: <1480055749-29512-1-git-send-email-jianbo.liu@linaro.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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:39:30 -0000 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 > -----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 >=20 > There is no app/test_pci, uses app/test instead. >=20 > Signed-off-by: Jianbo Liu > --- > tests/TestSuite_unit_tests_eal.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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 =3D 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