svn commit: trunk/uClibc: include libc/sysdeps/linux/common/bits l etc...

Denys Vlasenko vda.linux at googlemail.com
Mon Feb 23 15:13:22 UTC 2009


On Thursday 19 February 2009 10:45:54 am Carmelo AMOROSO wrote:
> vda at uclibc.org wrote:
> > Author: vda
> > Date: 2009-02-17 01:45:32 +0000 (Tue, 17 Feb 2009)
> > New Revision: 25345
> >
> > Log:
> > test/math/compile_test.c: "are long double functions even compile/link?" test
> > *: fix everything which prevents above from building
> >
> >
> >
> > Added:
> >    trunk/uClibc/test/math/compile_test.c
> >
> > Modified:
> >    trunk/uClibc/include/math.h
> >    trunk/uClibc/libc/sysdeps/linux/common/bits/mathcalls.h
> >    trunk/uClibc/libm/Makefile.in
> >    trunk/uClibc/libm/ldouble_wrappers.c
> >    trunk/uClibc/test/math/Makefile
> >    trunk/uClibc/test/math/libm-test.inc
> >
> >
> > Modified: trunk/uClibc/test/math/Makefile
> > ===================================================================
> > --- trunk/uClibc/test/math/Makefile	2009-02-16 14:08:47 UTC (rev 25344)
> > +++ trunk/uClibc/test/math/Makefile	2009-02-17 01:45:32 UTC (rev 25345)
> > @@ -1,9 +1,11 @@
> >  # uClibc math tests
> >  # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
> >
> > +include ../../.config
> > +
> 
> Denys,
> are you sure including .config is required.
> I'd should be already included from test/Rules.mak that includes
> top_buildir/Rules.mak

But here Rules.mak is included *later* than the check:

include ../../.config

TESTS := basic-test rint tst-definitions test-fpucw test-float test-ifloat test-double test-idouble
ifeq ($(strip $(UCLIBC_HAS_LONG_DOUBLE_MATH)),y)
TESTS += test-ldouble test-ildoubl compile_test
else
CFLAGS_basic-test := -DNO_LONG_DOUBLE
endif

include ../Test.mak


thus check wasn't working.

--
vda


More information about the uClibc mailing list