From patchwork Thu Dec 8 09:20:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 87207 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp729980qgi; Thu, 8 Dec 2016 00:23:07 -0800 (PST) X-Received: by 10.55.130.133 with SMTP id e127mr17208582qkd.44.1481185386991; Thu, 08 Dec 2016 00:23:06 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id f9si16702088qki.164.2016.12.08.00.23.06; Thu, 08 Dec 2016 00:23:06 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id A1BA9634C9; Thu, 8 Dec 2016 08:23:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 7B7D0634C0; Thu, 8 Dec 2016 08:20:56 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 2F74360E95; Thu, 8 Dec 2016 08:20:47 +0000 (UTC) Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by lists.linaro.org (Postfix) with ESMTPS id B814A60DC0 for ; Thu, 8 Dec 2016 08:20:45 +0000 (UTC) Received: by mail-wm0-f48.google.com with SMTP id g23so205749308wme.1 for ; Thu, 08 Dec 2016 00:20:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Xi5Yu+BVZ6ueSU2OwwCIEODYti3v3y+6mZzc6J854tI=; b=jaC6sd7RrkzXOv6pF51AefMpo4Pi2Y66Z2ey9QSC6LMET51+lTWaPu25Hl9PrCIiYx 2y56Sg4ujmmEFV67F4sHpP7jYbHYWo6A9/TOB7F9RlDWNYkQ8XzT282ENGi68Eiqj4iG HXyHYhPlvZzggnh/6Dq02Ayb2c7t0PgC44iwkPNDay22H7roBn6J7vFHjQ1Ac2ewxD7g +YaBEQxkfl1Qrxo5cgZqb598jORYnsj6kD87ZNNMFyzcsCNhCFB8XSwQdIJO0qPQV7Zd FfQUQ49J27zEJs6yjw+VHUtftuPl0Ibgm209ADrdNPGTyiwYDZk+5dS4XUvMDXna/+Ec SSQQ== X-Gm-Message-State: AKaTC03b4jI2nZIvEFBg5ZodvqwgxYwx98dpph1vVB8Bwx6n0Ov5V/10SIMUTOTEDlHj+xhL+6Y= X-Received: by 10.25.193.196 with SMTP id r187mr22933463lff.21.1481185244699; Thu, 08 Dec 2016 00:20:44 -0800 (PST) Received: from erachmi-ericsson.ki.sw.ericsson.se (c-83-233-76-66.cust.bredband2.com. [83.233.76.66]) by smtp.gmail.com with ESMTPSA id u63sm5364834lja.34.2016.12.08.00.20.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Dec 2016 00:20:44 -0800 (PST) From: Christophe Milard To: francois.ozog@linaro.org, forrest.shi@linaro.org, mike.holmes@linaro.org, yi.he@linaro.org, bill.fischofer@linaro.org, lng-odp@lists.linaro.org Date: Thu, 8 Dec 2016 10:20:17 +0100 Message-Id: <1481188818-25692-5-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1481188818-25692-1-git-send-email-christophe.milard@linaro.org> References: <1481188818-25692-1-git-send-email-christophe.milard@linaro.org> Subject: [lng-odp] [API-NEXT PATCHv4 4/5] test: preventing odp.conf loading for tests X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" The tests should not be affected by any system or user ODP configuration file. The ODP_SYSCONFIG_FILE environment variables is therefore set to "none" in TESTS_ENVIRONMENT. Tests which needs specific a configuration file will have to overwrite this setting. Note that tests ran manually (not using make check) may be affected by configuration files. Setting ODP_SYSCONFIG_FILE to an appropriate value (possibly "none") may be required. Signed-off-by: Christophe Milard --- test/Makefile.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/test/Makefile.inc b/test/Makefile.inc index 1ebc047..8d17b56 100644 --- a/test/Makefile.inc +++ b/test/Makefile.inc @@ -22,4 +22,6 @@ AM_LDFLAGS += -L$(LIB) @VALGRIND_CHECK_RULES@ valgrind_tools = memcheck -TESTS_ENVIRONMENT= ODP_PLATFORM=${with_platform} EXEEXT=${EXEEXT} +TESTS_ENVIRONMENT= ODP_PLATFORM=${with_platform} \ + EXEEXT=${EXEEXT} \ + ODP_SYSCONFIG_FILE=none