From patchwork Mon Mar 18 19:52:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 1058066 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BaIrw2NE"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.b="I5c/8UH1"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44NRgP2d6Cz9s4Y for ; Tue, 19 Mar 2019 06:53:05 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jzBUIuGnYiWgkLpz7z4IarU7Ra5GpQZsKVlx7b+kpg8=; b=BaIrw2NELTdglv sEsrkKwwb1Au+vDTR/9MNr9VBIIvZ7WIK1MI+CrbjMxril/d2DocARaWoV8IKGEvP8ghdRoAz0use 1L21U9Cl1HhMmd3r7qFr1XOUTDJjeau81Ka+sOOx2ropoMIc9Qc87CwKH03NzOGcq9GKUPHUxMbeT nUXebRoAIPm6zVC56X9LRuLR9LSf39bkqXELJS4aUgvPwdtCA4bfJzIXWIuTzRoPJmU3U6c7qdFSm +VFJY3ZF9/DL/rgf6qYYGtfUGgG7yBnbePy/4hIbaF+t1cwAirAZ+i9faSCVBe/mFiittftur06Rd hUxf8RY2AuMByF1fciZg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5yJj-0003G8-AD; Mon, 18 Mar 2019 19:53:03 +0000 Received: from smtprelay4.synopsys.com ([198.182.47.9] helo=smtprelay.synopsys.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5yJe-0003Fl-0P for linux-snps-arc@lists.infradead.org; Mon, 18 Mar 2019 19:53:02 +0000 Received: from mailhost.synopsys.com (dc2-mailhost2.synopsys.com [10.12.135.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtprelay.synopsys.com (Postfix) with ESMTPS id DFFCB24E2211; Mon, 18 Mar 2019 12:52:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1552938776; bh=cBkmCv0eM0yA6jKEv8kGDR1QWM+DLXkMkHtOl/TLLLM=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=I5c/8UH1WCsMhseUI4wLrLEI6nGaCpvKIAX4dJiEa///Xqr/whremoGUUucOihlW6 6SbVm4hlgm0MSo/R48lMOZF7tdhlgOQmbW2pFo1+8a4H52hkxfyMqT3Gb2iylfkTil pjkF4/tLaYVQkggsYoKAS5pqq/Vz+W//NXuPKITtO2i8l042DJvUH/qxI17KloFs2U RGCvwIuFRB0fEmetphlj5RKtPB7vXZVjajnEh8tlaipvSYT0trf1kN5nIljn91e8dY 0ezDyrB7yYoXhE4iVCnagKvgTAPmObm4B4FLuK5SP11aHDps95+1EKtSiJ/VS86RJk n8viyR5moqh4w== Received: from US01WXQAHTC1.internal.synopsys.com (us01wxqahtc1.internal.synopsys.com [10.12.238.230]) (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPS id 1F975A0091; Mon, 18 Mar 2019 19:52:55 +0000 (UTC) Received: from IN01WEHTCA.internal.synopsys.com (10.144.199.104) by US01WXQAHTC1.internal.synopsys.com (10.12.238.230) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 18 Mar 2019 12:52:55 -0700 Received: from IN01WEHTCB.internal.synopsys.com (10.144.199.105) by IN01WEHTCA.internal.synopsys.com (10.144.199.103) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 19 Mar 2019 01:23:00 +0530 Received: from vineetg-Latitude-E7450.internal.synopsys.com (10.10.161.89) by IN01WEHTCB.internal.synopsys.com (10.144.199.243) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 19 Mar 2019 01:22:59 +0530 From: Vineet Gupta To: Subject: [PATCH v2] autodetect fts support and tests depending on it Date: Mon, 18 Mar 2019 12:52:44 -0700 Message-ID: <1552938764-15101-1-git-send-email-vgupta@synopsys.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <20190318181940.GA5494@dell5510> References: <20190318181940.GA5494@dell5510> MIME-Version: 1.0 X-Originating-IP: [10.10.161.89] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190318_125258_062454_AB6F20CA X-CRM114-Status: GOOD ( 10.42 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [198.182.47.9 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Petr Vorel , Vineet Gupta , linux-snps-arc@lists.infradead.org Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Signed-off-by: Vineet Gupta --- configure.ac | 1 + testcases/kernel/controllers/Makefile | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index e002c248eab2..10b2f6b1e43b 100644 --- a/configure.ac +++ b/configure.ac @@ -33,6 +33,7 @@ AC_PROG_YACC AC_PREFIX_DEFAULT(/opt/ltp) AC_CHECK_HEADERS([ \ + fts.h \ ifaddrs.h \ keyutils.h \ linux/can.h \ diff --git a/testcases/kernel/controllers/Makefile b/testcases/kernel/controllers/Makefile index 404073947904..a1626ae03695 100644 --- a/testcases/kernel/controllers/Makefile +++ b/testcases/kernel/controllers/Makefile @@ -29,6 +29,12 @@ LIBDIR := libcontrollers LIB := $(LIBDIR)/libcontrollers.a FILTER_OUT_DIRS := $(LIBDIR) +# controllers/cpuset/cpuset_lib/libcpuset.c uses fts +# which may not be available/configured in the libc build +ifndef HAVE_FTS_H +FILTER_OUT_DIRS += cpuset +endif + $(LIBDIR): mkdir -p "$@"