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: 11202 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)) \