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 C4744C422 for ; Thu, 30 Jul 2015 08:08:51 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 29 Jul 2015 23:08:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,575,1432623600"; d="scan'208";a="758158957" Received: from pgsmsx103.gar.corp.intel.com ([10.221.44.82]) by fmsmga001.fm.intel.com with ESMTP; 29 Jul 2015 23:08:49 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by PGSMSX103.gar.corp.intel.com (10.221.44.82) with Microsoft SMTP Server (TLS) id 14.3.224.2; Thu, 30 Jul 2015 14:08:21 +0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.45]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.213]) with mapi id 14.03.0224.002; Thu, 30 Jul 2015 14:08:20 +0800 From: "Wu, Jingjing" To: "Liu, Yong" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] app test: fix eal --no-huge option should work with -m option Thread-Index: AQHQybh72aqrVUuRYUqbyzzN5qIob53zhwpg Date: Thu, 30 Jul 2015 06:08:19 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F8C92AFE@SHSMSX104.ccr.corp.intel.com> References: <1438144692-10114-1-git-send-email-yong.liu@intel.com> In-Reply-To: <1438144692-10114-1-git-send-email-yong.liu@intel.com> 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: [dpdk-dev] [PATCH] app test: fix eal --no-huge option should work with -m option 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 Jul 2015 06:08:52 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Yong Liu > Sent: Wednesday, July 29, 2015 12:38 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] app test: fix eal --no-huge option should wor= k > with -m option >=20 > From: Marvin Liu >=20 > '--no-huge' option now can workable with -m option. > Unit test for eal flag should change pass criterion. >=20 > Signed-off-by: Marvin Liu > Acked-by: Jingjing Wu > diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c index > 0352f87..e6f7035 100644 > --- a/app/test/test_eal_flags.c > +++ b/app/test/test_eal_flags.c > @@ -748,8 +748,8 @@ test_no_hpet_flag(void) } >=20 > /* > - * Test that the app runs with --no-huge and doesn't run when either > - * -m or --socket-mem are specified with --no-huge. > + * Test that the app runs with --no-huge and doesn't run when > + --socket-mem are > + * specified with --no-huge. > */ > static int > test_no_huge_flag(void) > @@ -778,8 +778,8 @@ test_no_huge_flag(void) > printf("Error - process did not run ok with --no-huge flag\n"); > return -1; > } > - if (launch_proc(argv2) =3D=3D 0) { > - printf("Error - process run ok with --no-huge and -m flags\n"); > + if (launch_proc(argv2) !=3D 0) { > + printf("Error - process did not run ok with --no-huge and -m > +flags\n"); > return -1; > } > #ifdef RTE_EXEC_ENV_BSDAPP > -- > 1.9.3