From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id D4E6468CE for ; Thu, 30 Jan 2014 12:34:05 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 30 Jan 2014 03:31:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.95,749,1384329600"; d="scan'208";a="467134243" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by fmsmga001.fm.intel.com with ESMTP; 30 Jan 2014 03:35:23 -0800 Received: from irsmsx105.ger.corp.intel.com (163.33.3.28) by IRSMSX102.ger.corp.intel.com (163.33.3.155) with Microsoft SMTP Server (TLS) id 14.3.123.3; Thu, 30 Jan 2014 11:35:22 +0000 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.84]) by IRSMSX105.ger.corp.intel.com ([169.254.7.202]) with mapi id 14.03.0123.003; Thu, 30 Jan 2014 11:35:23 +0000 From: "Richardson, Bruce" To: Olivier Matz , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 11/11] kvargs: add test case in app/test Thread-Index: AQHPHENRP3IWE/IwTUyqe2mMZFFxwZqdJhuw Date: Thu, 30 Jan 2014 11:35:22 +0000 Message-ID: <59AF69C657FD0841A61C55336867B5B01A9960BC@IRSMSX103.ger.corp.intel.com> References: <1390925204-10800-1-git-send-email-olivier.matz@6wind.com> <1390925204-10800-12-git-send-email-olivier.matz@6wind.com> In-Reply-To: <1390925204-10800-12-git-send-email-olivier.matz@6wind.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 11/11] kvargs: add test case in app/test X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2014 11:34:06 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Olivier Matz > Sent: Tuesday, January 28, 2014 4:07 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 11/11] kvargs: add test case in app/test >=20 > Add a file app/test/test_kvargs.c that checks the rte_kvargs API. > The test passes: >=20 > RTE>>kvargs > =3D=3D test valid case =3D=3D > =3D=3D test invalid case =3D=3D > PMD: Error parsing device, invalid key > Test OK >=20 > I also tested that rte_eth_pcap runs with the following arguments: >=20 > ./app/testpmd -c 0x15 -n 3 --proc-type=3Dprimary --huge-dir=3D/mnt/huge= \ > --use-device=3D"eth_pcap0;iface=3Dixgbe0" \ > -- -i --port-topology=3Dchained >=20 > ./app/testpmd -c 0x15 -n 3 --proc-type=3Dprimary --huge-dir=3D/mnt/huge= \ > --use- > device=3D"eth_pcap0;rx_iface=3Dixgbe0;rx_iface=3Dixgbe1;tx_iface=3Dixgbe0= " \ > -- -i --port-topology=3Dchained >=20 > Signed-off-by: Olivier Matz > --- > app/test/Makefile | 1 + > app/test/commands.c | 8 ++ > app/test/test.h | 1 + > app/test/test_kvargs.c | 235 > +++++++++++++++++++++++++++++++++++++++++++++++++ > 4 files changed, 245 insertions(+) > create mode 100644 app/test/test_kvargs.c Acked-by: Bruce Richardson