diff options
author | Roland McGrath <roland@hack.frob.com> | 2016-03-04 13:27:25 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2016-03-04 13:27:25 -0800 |
commit | 0800411f9c7da44641a0399428f678c020de0eda (patch) | |
tree | 77ef7482edb8c52237551c64f04a4f23af5933c3 /math | |
parent | 00db8bf4dbda2791e3a7a6666e6a6520f1c38534 (diff) | |
download | glibc-0800411f9c7da44641a0399428f678c020de0eda.tar.gz glibc-0800411f9c7da44641a0399428f678c020de0eda.tar.xz glibc-0800411f9c7da44641a0399428f678c020de0eda.zip |
Omit test-math-isinff when no C++ compiler.
Diffstat (limited to 'math')
-rw-r--r-- | math/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/math/Makefile b/math/Makefile index 7d573a0074..b952124999 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)) \ |