Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Omit test-math-isinff when no C++ compiler.
  • Loading branch information
Roland McGrath committed Mar 4, 2016
1 parent 00db8bf commit 0800411
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
@@ -1,5 +1,8 @@
2016-03-04 Roland McGrath <roland@hack.frob.com>

* math/Makefile (tests): Add test-math-isinff only if $(CXX) is
nonempty.

* Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
to test for empty $(CXX) rather than $(CXX) of "no".

Expand Down
5 changes: 4 additions & 1 deletion math/Makefile
Expand Up @@ -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 \
Expand All @@ -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)) \
Expand Down

0 comments on commit 0800411

Please sign in to comment.