summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-11- add error-counter, do not immediately exit if a testcase fails but printBernhard Reutner-Fischer
the overall error-counter at the end and exit accordingly.
2008-07-11- do not test pthread if threads are not availableBernhard Reutner-Fischer
2008-07-11- the interp is an order-only prereq of lib-so-yBernhard Reutner-Fischer
- hint vi on the filetype while at it
2008-07-11- don't test libcrypt stubsBernhard Reutner-Fischer
2008-07-11- do not run tests that are not availableBernhard Reutner-Fischer
2008-07-11wow. So why does test/ keep it's own copy of CFLAGS guessing etc?Bernhard Reutner-Fischer
2008-07-11check and test have to depend on test_compileBernhard Reutner-Fischer
2008-07-10Removed wrong preprocessed filesCarmelo Amoroso
2008-07-10Added missing tests for locale with multibyte encodingCarmelo Amoroso
2008-07-09Added several tests for locale support (8 bit and multibyte UTF-8)Carmelo Amoroso
Basically all tests have been taken from glibc. For testing multibyte encoding EUC_JP parts have been commented out and added new section for UTF-8 that is the only multibyte codeset currently supported on uCLibc. Some tests are still failing due to unsupported/missing features, other have been fixed. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-07-08sh4 don't need to cope with older RLIMIT implementation.Carmelo Amoroso
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-07-08Fix the test build system by installing headers on a local folderCarmelo Amoroso
instead of using internal headers. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-07-08New .config option UCLIBC_HAS_STUBS, enables fork() stub on NOMMUDenis Vlasenko
2008-07-02Include errno.h from kernel headers instead of using internal errno_values.hCarmelo Amoroso
otherwie some errno will be missed (i.e. ENOKEY used in libusb) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-07-02Fix makefile target to run test when there are some shell script.Carmelo Amoroso
SImply do not include SHEL_TESTS among RUNTIME_TESTS, because shell script have a their own rule to be excuted. The runtime evaluation by using the $(shell ...) command doesn't work due to immediate expansion of shell function. Currently only nptl tests have shell script, so this problem have been never discovered before. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-07-01Simplified check_pf() so it returns a bit vector in an unsigned int,Ricard Wanderlof
instead of modifying the contents of two bools.
2008-06-28#include <ifaddrs.h> should be #include "ifaddrs.h"Denis Vlasenko
2008-06-27add test case for argv[0] == nullMike Frysinger
2008-06-27if argv[0] is NULL, dont try to parse it and subsequently crash ... found by ↵Mike Frysinger
running execve05 ltp test on blackfin ([#4194])
2008-06-27Removed include/ifaddrs.h and put contents in libc/inet/ifaddrs.h, as we do notRicard Wanderlof
need the file outside of uClibc anyway.
2008-06-27Fixed #if -> #if defined.Ricard Wanderlof
Take __UCLIBC_HAS_IPV4__ into account.
2008-06-27Added support for the AI_ADDRCONFIG flag in the hints->ai_flags parameter to ↵Ricard Wanderlof
getaddrinfo(3).
2008-06-20- make sure to build crti and crtn with PICFLAGBernhard Reutner-Fischer
2008-06-17- move stripping into do_ar resp compile-m for the sake of simplicityBernhard Reutner-Fischer
2008-06-16- remove improper commentBernhard Reutner-Fischer
2008-06-16- fix build errorBernhard Reutner-Fischer
brk.c:(.text.__GI_sysconf+0xd4): undefined reference to `clock_getres'
2008-06-13des: des_setkey always returns 0, there is no pointDenis Vlasenko
in checking whether it returns 1. text data bss dec hex filename - 4283 0 70209 74492 122fc libcrypt/des.o + 4273 0 70209 74482 122f2 libcrypt/des.o
2008-06-12Include sys/syscall.h since we are checking for __NR_clock_getres.Peter Kjellerstedt
2008-06-12remove a trivial comment. no code changesDenis Vlasenko
2008-06-12Revert revision 19347, plus libc_hidden_proto for __uc_malloc.Bernd Schmidt
Some of the code is functionally identical before and after, but for now I'm just mechanically reverting the entire mess.
2008-06-12Revert revision 19345 plus libc_hidden_proto for __uc_malloc.Bernd Schmidt
2008-06-12Revert revision 19344 plus the libc_hidden_proto for __uc_malloc.Bernd Schmidt
2008-06-12Revert revision 19343 and also remove libc_hidden_proto for __uc_malloc.Bernd Schmidt
For now, a straight revert; we can decide later wheter we want to do something more.
2008-06-11Make locale_headers only when doing pregen and not headersCarmelo Amoroso
due to dependencies against sysnum.h Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-06-11libcrypt/md5.c:Denis Vlasenko
Make sp, ep and p variables automatic. There is no point in having them static, they never use their values retained from previous call. Replace strlen(__md5__magic) etc by compile-time constants. text data bss dec hex filename - 1957 0 132 2089 829 libcrypt/md5.o + 1905 0 120 2025 7e9 libcrypt/md5.o
2008-06-11Fix some compiler warningsCarmelo Amoroso
2008-06-11- disregard any and all $(top_builddir) in deps.Bernhard Reutner-Fischer
Fixes e.g. make -C ldso rebuilding unneeded stuff
2008-06-11Fix two more cases where a libc_hidden_proto was added to string.h whileBernd Schmidt
no libc_hidden_def exists for the function.
2008-06-11xtensa: Fix spill routine.Chris Zankel
The spill routine to flush all windowed registers was missing a 'mov' instruction. Signed-off-by: Chris Zankel <chris@zankel.net>
2008-06-10- no need to export the included dependencies generated by ccBernhard Reutner-Fischer
2008-06-10Revert revison 19346, except parts needed by later patches (r19347 also addedBernd Schmidt
__uc_malloc calls in getnetent.c, so we must retain the include and libc_hidden_proto).
2008-06-10Revert revision 19342, plus one whitespace fix demanded by the pre-commitBernd Schmidt
hook.
2008-06-09- Improve prerequisites and avoid spurious reconfigurations.Bernhard Reutner-Fischer
More details: http://uclibc.org/lists/uclibc/2008-June/019509.html
2008-06-08In string.h, move libc_hidden_proto next to the corresponding declaration.Bernd Schmidt
Filter them out when installing headers. Tested by building up bfin-*linux toolchains and building our copy of uClinux-dist.
2008-06-07- if UNIX98PTY_ONLY is not set then we're in legacy land anyway which needsBernhard Reutner-Fischer
UCLIBC_HAS_GETPT unconditionally for __libc_ptyname{1,2}[] and related bloat.
2008-06-07- revert incorrect parts of r22257 and 22259Bernhard Reutner-Fischer
since posix_openpt lives in getpt.c it has to stay there unconditionally.
2008-06-07- remove __USE_BSD guard from __bsd_getpt().Bernhard Reutner-Fischer
Fixes compilation error for defined UCLIBC_HAS_PTY && !defined UNIX98PTY_ONLY which need both __libc_ptyname1 and __libc_ptyname2 for ptsname_r().
2008-06-07- UCLIBC_HAS_GETPT pulls in getpt.Bernhard Reutner-Fischer
- ptsname_r depends on UCLIBC_HAS_PTY just like ptsname()
2008-06-06Remove superfluous attribute_hidden from functionDenis Vlasenko
definition. I seems to produce spurious warning: libc/inet/resolv.c:1549: warning: 'visibility' attribute ignored on non-class types (seems like gcc bug) and it is not really needed - attribute_hidden was already specified in function _declaration_ so it is not necessary here. No code changes (verified with objdump).
2008-06-06Document the reason why ether tests in testsuite may fail.Denis Vlasenko
No code changes.