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

Carmelo AMOROSO carmelo.amoroso at st.com
Mon Feb 23 15:17:44 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Denys Vlasenko wrote:
> 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:
Hi Denys,
yes later because TESTS and TESTS_DISABLED should be defined before
including ../Test.mak, otherwise TESTS will get its default value
that is *.c

> 
> 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.
yes, understand... but this makes me more confused how all other
Makefiles are working (if they are) now.
Do you agree with me ?
> 
> --
> vda
Thanks,
Carmelo
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkmivhgACgkQoRq/3BrK1s8NKwCfSiUbVgQtKkaJYy4En2aSzBy2
eosAoMYQ8+vtrqQ7s68dC1WObK6hKMaE
=8nB9
-----END PGP SIGNATURE-----


More information about the uClibc mailing list