X-Git-Url: https://rtime.felk.cvut.cz/gitweb/l4.git/blobdiff_plain/846ee6a4a27b3178b23b551e333750133da39d27..7d8b3f45f98773ba02057b81b90c31a12320c09e:/l4/pkg/uclibc/lib/contrib/uclibc/test/math/Makefile.in diff --git a/l4/pkg/uclibc/lib/contrib/uclibc/test/math/Makefile.in b/l4/pkg/uclibc/lib/contrib/uclibc/test/math/Makefile.in index b160c875d..e76cbdbaa 100644 --- a/l4/pkg/uclibc/lib/contrib/uclibc/test/math/Makefile.in +++ b/l4/pkg/uclibc/lib/contrib/uclibc/test/math/Makefile.in @@ -1,14 +1,17 @@ # uClibc math tests # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. -TESTS := basic-test rint tst-definitions test-fpucw test-float test-ifloat test-double test-idouble +TESTS := basic-test tst-definitions test-fpucw test-float test-ifloat test-double test-idouble \ + rint signgam ilogb +# gamma (removed from TESTS, need to add "small errors are ok" machinery there) ifeq ($(UCLIBC_HAS_LONG_DOUBLE_MATH),y) -TESTS += test-ldouble test-ildoubl compile_test +TESTS += test-ldouble test-ildoubl compile_test c99_test else CFLAGS_basic-test := -DNO_LONG_DOUBLE endif DODIFF_rint := 1 +DODIFF_signgam := 1 # NOTE: For basic-test we must disable the floating point optimization. # Only for sh architecture because in the other architecture are disabled. @@ -19,9 +22,10 @@ EXTRA_CFLAGS := -fno-builtin EXTRA_LDFLAGS := -lm PERL := /usr/bin/perl -ulps-file := $(firstword $(wildcard $(config-sysdirs:%=$(..)%/libm-test-ulps))) -libm-test.c: $(ulps-file) libm-test.inc gen-libm-test.pl - $(Q)$(PERL) ./gen-libm-test.pl -u $< ./libm-test.inc -o "." 2>&1 > /dev/null -EXTRA_CLEAN := libm-test.c libm-test-ulps.h -TARGETS=libm-test.c +$(TESTS): libm-test.c + +libm-test.c: libm-test-ulps-$(TARGET_ARCH) libm-test.inc gen-libm-test.pl + $(Q)$(PERL) ./gen-libm-test.pl -u libm-test-ulps-$(TARGET_ARCH) ./libm-test.inc -o "." 2>&1 > /dev/null + +EXTRA_CLEAN := libm-test.c libm-test-ulps.h