From patchwork Thu Jul 23 15:44:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 51401 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id 022B020323 for ; Thu, 23 Jul 2015 15:46:04 +0000 (UTC) Received: by lagw2 with SMTP id w2sf69838639lag.3 for ; Thu, 23 Jul 2015 08:46:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:errors-to :sender:x-original-sender:x-original-authentication-results :mailing-list; bh=r3ficX01JiDpPPOgqNMHHxDvPufyuPclL0VcGhEuAMc=; b=ljHbYU3c946u37Y1wGONPYuYkmKSUbV7cc2QhIGuK1tvY2eeePrkNboxn0HdT1JcWT /qJvxjdVOXVc4bIwIe6/F8RKwLJbA3YsIe6qjMbwYhXI0wqegFv9/82bzBS5DRct49u+ cm7m6WwPtwScDpJeXecSfr/RrQDNU0xPsKsTpIfYAvIKMWVPNl6jRhdOtiGlNdzBFMAH EZvg0dgMzSHMb7QyXGo1o9lmokshE0N+X8k7RuysvdwA7tKcKHweo6p4PiX9iVO3Bvq6 f61o/Z2fV4c6/aHdDL5AG6svuLVUsrEHmqODy0mJLQ2juQ8/Ipr5+6Jz0y3BAiPUjEr6 aC5A== X-Gm-Message-State: ALoCoQlPB/99tLt3+JH7dWsWqckNBacTq6uzArMZLcsz7+A3jFl3nGgQXhA5Sey2EiYFAinrrhsM X-Received: by 10.180.35.162 with SMTP id i2mr14379128wij.6.1437666362952; Thu, 23 Jul 2015 08:46:02 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.203.197 with SMTP id ks5ls244930lac.64.gmail; Thu, 23 Jul 2015 08:46:02 -0700 (PDT) X-Received: by 10.112.46.130 with SMTP id v2mr8627201lbm.119.1437666362781; Thu, 23 Jul 2015 08:46:02 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id zs5si4654640lbb.37.2015.07.23.08.46.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jul 2015 08:46:02 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by lbbqi7 with SMTP id qi7so80169225lbb.3 for ; Thu, 23 Jul 2015 08:46:02 -0700 (PDT) X-Received: by 10.113.4.105 with SMTP id cd9mr8765892lbd.106.1437666362677; Thu, 23 Jul 2015 08:46:02 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.7.198 with SMTP id l6csp628042lba; Thu, 23 Jul 2015 08:46:01 -0700 (PDT) X-Received: by 10.140.233.213 with SMTP id e204mr3403159qhc.56.1437666361078; Thu, 23 Jul 2015 08:46:01 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id w104si6340316qgd.2.2015.07.23.08.45.55; Thu, 23 Jul 2015 08:46:01 -0700 (PDT) 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; Received: by lists.linaro.org (Postfix, from userid 109) id B821061E6C; Thu, 23 Jul 2015 15:45:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id BA29061E64; Thu, 23 Jul 2015 15:45:22 +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 C3AA061849; Thu, 23 Jul 2015 15:45:13 +0000 (UTC) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com [209.85.217.173]) by lists.linaro.org (Postfix) with ESMTPS id 7EF2B61849 for ; Thu, 23 Jul 2015 15:44:53 +0000 (UTC) Received: by lbbyj8 with SMTP id yj8so160612660lbb.0 for ; Thu, 23 Jul 2015 08:44:52 -0700 (PDT) X-Received: by 10.153.4.40 with SMTP id cb8mr8572937lad.39.1437666292072; Thu, 23 Jul 2015 08:44:52 -0700 (PDT) Received: from erachmi-VirtualBox.ki.sw.ericsson.se (c-83-233-90-46.cust.bredband2.com. [83.233.90.46]) by smtp.gmail.com with ESMTPSA id z12sm1100482lbp.46.2015.07.23.08.44.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Jul 2015 08:44:51 -0700 (PDT) From: Christophe Milard To: anders.roxell@linaro.org, mike.holmes@linaro.org, stuart.haslam@linaro.org Date: Thu, 23 Jul 2015 17:44:34 +0200 Message-Id: <1437666275-24455-3-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1437666275-24455-1-git-send-email-christophe.milard@linaro.org> References: <1437666275-24455-1-git-send-email-christophe.milard@linaro.org> X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [RFC-PATCH 2/3] test: removing current dir from -I X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: christophe.milard@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 The goal of this patch is to remove the src directory and current directory from the standard include search path (gcc -I), so that #include <...> and #include "..." actually search different locations. This enables standard filenames (such as errno.h) to be used locally. Signed-off-by: Christophe Milard --- test/Makefile.inc | 5 ++--- test/validation/Makefile.inc | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/test/Makefile.inc b/test/Makefile.inc index d5b4770..2700b18 100644 --- a/test/Makefile.inc +++ b/test/Makefile.inc @@ -6,8 +6,7 @@ LIB = $(top_builddir)/lib #before libodp by setting PRE_LDADD before the inclusion. LDADD = $(PRE_LDADD) $(LIB)/libodphelper.la $(LIB)/libodp.la -INCFLAGS = -I$(srcdir) \ - -I$(top_srcdir)/test \ +INCFLAGS = -I$(top_srcdir)/test \ -I$(top_srcdir)/platform/@with_platform@/include \ -I$(top_srcdir)/platform/linux-generic/include \ -I$(top_srcdir)/include \ @@ -20,4 +19,4 @@ AM_LDFLAGS += -L$(LIB) @VALGRIND_CHECK_RULES@ valgrind_tools = memcheck drd sgcheck -TESTS_ENVIRONMENT= ODP_PLATFORM=${with_platform} EXEEXT=${EXEEXT} \ No newline at end of file +TESTS_ENVIRONMENT= ODP_PLATFORM=${with_platform} EXEEXT=${EXEEXT} diff --git a/test/validation/Makefile.inc b/test/validation/Makefile.inc index 31729b8..fcaf5a5 100644 --- a/test/validation/Makefile.inc +++ b/test/validation/Makefile.inc @@ -1,5 +1,7 @@ include $(top_srcdir)/test/Makefile.inc +DEFAULT_INCLUDES = + AM_CFLAGS += -I$(top_srcdir)/test/validation/common AM_LDFLAGS += -static