summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2009-02-23- disable libcrypt tests if we have no libcryptBernhard Reutner-Fischer
2009-02-18test/math/compile_test.c: make it exit with 0 alwaysDenis Vlasenko
2009-02-17test/math/compile_test.c: add compile testing of (some) floatsDenis Vlasenko
2009-02-17libm/Makefile.in: reformat the list of wrappersDenis Vlasenko
so that it is easier to modify, sort, etc; use __ in filenames of wrappers which wrap __functions (it may be useful to have function and file names ALWAYS match); remove names of not implemented wrappers (it was generating useless empty .o files). libm/ldouble_wrappers.c: comment out the wrapper which is not compiled anyway test/math/compile_test.c: improve this test, it was optimizing out some calls, and we don't want that. No actual code changes.
2009-02-17test/math/compile_test.c: "are long double functions even compile/link?" testDenis Vlasenko
*: fix everything which prevents above from building
2009-02-12Pass NO_LONG_DOUBLE flag to basic-test when LONG_DOUBLECarmelo Amoroso
support is not enabled in uclibc to fix build. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2009-02-05libm: add scalbf, gammaf, significandf wrappers.Denis Vlasenko
This makes in possible to enable test/math (not it compiles, but has lots of test failures).
2009-02-02libm/ldouble_wrappers.c: add libm_hidden_def's to fix testsuite buildDenis Vlasenko
test/Rules.mak: don't pass target options to host build test/math/basic-test.c: fix test build error patching file test/unistd/errno.c: fix test build warning
2009-01-28Follow naming convention for tst-regex2 input file. All othersCarmelo Amoroso
are .dat suffix. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2009-01-28"make utils" now successfully makes utils for targetDenis Vlasenko
2008-12-25test/regex/tst-regexloc.c: include ok/bad indicator in the messageDenis Vlasenko
test/regex/tst-regex2.c: do not exit at the first error
2008-12-25test/regex/tst-regex2.c: fix the rest of testsuite failuresDenis Vlasenko
2008-12-24test/regex: make it faster to rebuild and run regex testcaseDenis Vlasenko
2008-12-24rename test fileDenis Vlasenko
2008-12-24test/Makefile: make "make compile" install headers firstDenis Vlasenko
test/regex/Makefile: remove superfluous oprions test/regex/tst-regex2.c: reformat, simplify, and make error messages more informative test/test-skeleton.c: kill child test process on ^C
2008-12-17resolv: fix testcase failureDenis Vlasenko
test/regex/tst-regex2.c: fix testcase to compile with just "gcc <file>.c"
2008-12-02Fix wcswidth function when LOCALE support is disabledCarmelo Amoroso
while keeping WCHAR support enabled. This solves two testcases: tst_wcwidth and tst_wcswidth. Fix dat_iswctype.c fiinput file: character 0x80 is not a control character: it fixes tst_iswctype test. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
2008-11-26This patch fixes locale-mbwc test failures when __UCLIBC_HAS_LOCALE__ isCarmelo Amoroso
disabled and __UCLIBC_HAS_WCHAR__ is enabled. The only locale available when __UCLIBC_HAS_LOCALE__ is disabled is the C locale, the others locale are skipped. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
2008-10-25Use C implementation of strncmp.Khem Raj
Add a new strncmp testcase.
2008-10-10- add and use EXTRA_DIRS to wipe the test/locale/C directoryBernhard Reutner-Fischer
2008-10-10- Include stdio.h for the perror prototype, use constants from stdlib.h,Bernhard Reutner-Fischer
tidy up old-style function definition.
2008-10-09- fix test. Tests are normal userspace and are _not_ part of the libc itselfBernhard Reutner-Fischer
Thanks to Tobias Poschwatta for pointing out this error.
2008-10-06Fix scandir function to reset the errno when the Carmelo Amoroso
selector returns zero(no entries) modifying the errno. The attached test case implements a dummy filter that returns alway no entries, but change the errno. scandir is not expected to fail, just returning 0 entries. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-10-03- add long double math wrappers (Ned Ludd)Bernhard Reutner-Fischer
2008-10-02Fix bad commit 23574 for io redirecting when running the test suiteHans-Christian Egtvedt
This patch fixes the previous r23574 and uses a correct syntax for redirecting. ./foo > bar.out 2>&1
2008-10-02Use more generic redirecting of output in the test suiteHans-Christian Egtvedt
This patch replaces the "&> file" with "> file 2>> file". The latter is compatible with Busybox ash shell, which makes it easier to run the test suite on target. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-09-26- revert inappropriate part of r23478Bernhard Reutner-Fischer
2008-09-25Add globally __stringify macro in libc-symbols.h.Carmelo Amoroso
Remove all other duplicated definitions. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-08-27- remove a couple of duplicate includesBernhard Reutner-Fischer
2008-07-23- trim any trailing whitespaceBernhard Reutner-Fischer
2008-07-11- remove the error counterBernhard Reutner-Fischer
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- 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-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-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-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-06-27add test case for argv[0] == nullMike Frysinger
2008-06-11Fix some compiler warningsCarmelo Amoroso
2008-06-06Document the reason why ether tests in testsuite may fail.Denis Vlasenko
No code changes.
2008-06-06Fix spurious testsuite failureDenis Vlasenko
2008-05-20Remove automatically generated header when doing make cleanCarmelo Amoroso
2008-05-16Convert to UNIX formatCarmelo Amoroso
2008-05-13Do not check retbuf if realpath returns NULLCarmelo Amoroso
2008-05-08test-canon: stop checking realpath buffer in case realpathDenis Vlasenko
returns NULL (the buffer contents is undefined); also check errno more thoroughly (bugs were seen slipping through)
2008-04-25Fix rpc test MakefileCarmelo Amoroso
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>