From patchwork Fri Mar 4 21:28:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland McGrath X-Patchwork-Id: 592213 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 448D4140134 for ; Sat, 5 Mar 2016 08:28:13 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=LxgsnSRD; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:from:to:subject:message-id:date; q= dns; s=default; b=MJlAXUZVeMK7ekyvBkeSuwM2cieOH8EmsDk+FOIYEJc/8h CjOA6cOXiCBiQR4lrYXpDBr//Pl+x3jUEXM3WXzFW8t/8vHzyP70tN0kc8YLnU72 5V7DxIc8EHy3H504DNk0zOFZ9E+S1jwkLsv1qVUsdbDW6J4i8YB+Sdm+dI678= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:from:to:subject:message-id:date; s= default; bh=F3jamPiPC5C0ZQKe4C6lLGtrQMo=; b=LxgsnSRDVhMYv7EiezXj 9PjLSvJhJ/TLoVBS8Okkp9RV8ZIMYkdBXK6fyNNWGihrqhejfEu5uUmKgCjQLa61 ppeIBGBtYxNHSqXbemDpUCkDE4nn96DyzxypcfVfMQJqW6WYmBxf6gZfV5HrEB4I pazissPS4TJS+hwOLtpO1PE= Received: (qmail 91037 invoked by alias); 4 Mar 2016 21:28:07 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 90991 invoked by uid 89); 4 Mar 2016 21:28:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=1147, no X-HELO: topped-with-meat.com MIME-Version: 1.0 From: Roland McGrath To: "GNU C. Library" Subject: [COMMITTED PATCH] Omit test-math-isinff when no C++ compiler. Message-Id: <20160304212803.CDD082C3BBF@topped-with-meat.com> Date: Fri, 4 Mar 2016 13:28:03 -0800 (PST) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=RZ8DVTdv c=1 sm=1 tr=0 a=WkljmVdYkabdwxfqvArNOQ==:117 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=DT32D7Cmzr8spDlmhfMA:9 a=CjuIK1q_8ugA:10 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is nonempty. diff --git a/math/Makefile b/math/Makefile index 7d573a0..b952124 100644 --- a/math/Makefile +++ b/math/Makefile @@ -114,7 +114,6 @@ tests = test-matherr test-fenv atest-exp atest-sincos atest-exp2 basic-test \ test-nearbyint-except-2 test-signgam-uchar test-signgam-uchar-init \ test-signgam-uint test-signgam-uint-init test-signgam-ullong \ test-signgam-ullong-init test-nan-overflow test-nan-payload \ - test-math-isinff \ $(tests-static) tests-static = test-fpucw-static test-fpucw-ieee-static \ test-signgam-uchar-static test-signgam-uchar-init-static \ @@ -124,6 +123,10 @@ tests-static = test-fpucw-static test-fpucw-ieee-static \ # distinct from `double'. test-longdouble-yes = test-ldouble test-ildoubl test-ldouble-finite +ifneq (,$(CXX)) +tests += test-math-isinff +endif + ifneq (no,$(PERL)) libm-vec-tests = $(addprefix test-,$(libmvec-tests)) libm-tests = test-float test-double $(test-longdouble-$(long-double-fcts)) \