From patchwork Fri Dec 30 15:19:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 89371 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp6461434qgi; Fri, 30 Dec 2016 06:22:29 -0800 (PST) X-Received: by 10.200.57.89 with SMTP id t25mr48202346qtb.196.1483107749354; Fri, 30 Dec 2016 06:22:29 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id s50si19141461qte.63.2016.12.30.06.22.29; Fri, 30 Dec 2016 06:22:29 -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 0E80660A11; Fri, 30 Dec 2016 14:22:29 +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, URIBL_BLOCKED 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 987A660A32; Fri, 30 Dec 2016 14:20:29 +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 63F5E60A1C; Fri, 30 Dec 2016 14:20:20 +0000 (UTC) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) by lists.linaro.org (Postfix) with ESMTPS id 522AB609CA for ; Fri, 30 Dec 2016 14:20:18 +0000 (UTC) Received: by mail-lf0-f53.google.com with SMTP id t196so237935818lff.3 for ; Fri, 30 Dec 2016 06:20:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=o92g8WBLaMXE+A06xMeElpJM0zQAI6SQyF2oiMOLSlI=; b=VW/GgwnlIp5CEGi5esIwDEd7yNJAuSXZxCjvhfhM441KYpgozkqHYV9a8mU3P3R0SN w/tvXh/rbKjfJ/YUeyPzDUPsdrEUmfkYl2WbAAavbJHJXH8Nx4Rx/6ehi2UzidweSENM M7yOgb78u5YDbIhylvxboJyiYV2gj9fJgIxtyh5yqyyPN7URur5YChnUKELfPzC5SN3w P2B710c3wpaAFGH2mxcMVPqHzef9tZ5+wTJ2EbHtBiZgmwv3c9Y+jWO/IDyyFplVgyLi kr8bUHkI4hVLu79qqhR/tQS6EdVfUXByBHba1NO1ZifzOdUFewM/e9N9B/fzdGPsZiSU Rakg== X-Gm-Message-State: AIkVDXJdAv2XVRoqNV1+knWNClKy9Vic1FKrhAwebPIimen08SlqWE0QbpnrbyjI9PBovz6ANqc= X-Received: by 10.25.19.170 with SMTP id 42mr13716694lft.174.1483107617160; Fri, 30 Dec 2016 06:20:17 -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 t126sm13807670lff.26.2016.12.30.06.20.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Dec 2016 06:20:16 -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, petri.savolainen@nokia.com, lng-odp@lists.linaro.org Date: Fri, 30 Dec 2016 16:19:37 +0100 Message-Id: <1483111178-58507-5-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1483111178-58507-1-git-send-email-christophe.milard@linaro.org> References: <1483111178-58507-1-git-send-email-christophe.milard@linaro.org> Subject: [lng-odp] [API-NEXT PATCHv8 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 need 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..896f863 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