From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH 1/2] test: use env variable to run test if set Date: Mon, 18 Dec 2017 20:29:20 +0530 Message-ID: <20171218145918.GA14509@jerin> References: <1513598038-148115-1-git-send-email-harry.van.haaren@intel.com> <1513598038-148115-2-git-send-email-harry.van.haaren@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, bruce.richardson@intel.com To: Harry van Haaren Return-path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0066.outbound.protection.outlook.com [104.47.42.66]) by dpdk.org (Postfix) with ESMTP id 9B4F5200 for ; Mon, 18 Dec 2017 15:59:53 +0100 (CET) Content-Disposition: inline In-Reply-To: <1513598038-148115-2-git-send-email-harry.van.haaren@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" -----Original Message----- > Date: Mon, 18 Dec 2017 11:53:57 +0000 > From: Harry van Haaren > To: dev@dpdk.org > CC: bruce.richardson@intel.com, Harry van Haaren > > Subject: [dpdk-dev] [PATCH 1/2] test: use env variable to run test if set > X-Mailer: git-send-email 2.7.4 > > This commit paves the way for the meson tests in the next > patch. With this patch the test binary checks the DPDK_TEST > environment variable and if set, the contents of the var > are inserted on the test app command line, and run. > > This allows testing of various different unit tests without > manual interaction with the RTE>> test prompt, instead automating > it using the DPDK_TEST environment variable. Another alternative is to pipe the command. example: echo "eventdev_common_autotest" | sudo ./build/app/test