summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote branch 'origin/master' into nptl_mergeAustin Foxley2009-11-226-78/+156
|\ | | | | | | | | | | | | | | | | Conflicts: Rules.mak libc/misc/sysvipc/msgq.c test/Rules.mak Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * futimens: add functionBernhard Reutner-Fischer2009-11-202-0/+92
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * make test-skeleton C89 compliantBernhard Reutner-Fischer2009-11-201-4/+7
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * SUSv4: disable isascii, toascii, _toupper, _tolowerBernhard Reutner-Fischer2009-11-191-0/+2
| | | | | | | | | | | | | | [__]isascii need to be defined all the time for the build. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * test: sync up with toplevel buildsysBernhard Reutner-Fischer2009-11-192-73/+45
| | | | | | | | | | | | | | test/Rules.mak was duplicating too much from the toplevel Rules.mak (which is included anyway). Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * .gitignore more testfilesBernhard Reutner-Fischer2009-11-191-1/+10
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * test/plt: add a script to find PLT usageMike Frysinger2009-10-221-0/+38
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | make tls and nptl test buildBernhard Reutner-Fischer2009-11-224-249/+257
| | | | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | Look at HAVE_SHAREDBernhard Reutner-Fischer2009-11-221-1/+1
| | | | | | | | | | | | | | We do not have UCLIBC_STATIC (anymore) but !HAVE_SHARED Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/plt: add a script to find PLT usageMike Frysinger2009-11-091-0/+38
| | | | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | whitespace fixesAustin Foxley2009-10-172-2/+2
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | build system changes needed for nptlAustin Foxley2009-10-175-7/+15
| | | | | | | | | | | | | | | | | | * add include dir for nptl * pregen nptl headers * add include dir to pick up subarchs * a few tweaks for test/* to match state of the code Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/tls/: tests for thread local storage functionalityAustin Foxley2009-10-1745-0/+2911
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/nptl/: tests for NPTLAustin Foxley2009-10-17197-0/+26837
|/ | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* add .gitignore for test/ and extra/Austin Foxley2009-10-171-0/+254
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* test/dlopen: use pthread_once directlyAustin Foxley2009-10-171-3/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* test_librt: Fix shmtest.c test caseCarmelo Amoroso2009-07-301-3/+5
| | | | | | | | | | | | | | | | | Fix wrong use of sizeof (array) to retrieve the number of elements; it was causing accessing beyond the array's boundaries. Below the output of the testcase showing an attempt to read beyond the array (actually 11 elements in size). root@amorosoc:/home/carmelo# ./shmtest Compare memory error : Offset 11, local 4262624, shm 224 Compare memory error : Offset 12, local 693493828, shm 68 Compare memory error : Offset 13, local 693489168, shm 16 Compare memory error : Offset 14, local 693826444, shm 20 ..... Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* test_librt: Fix build system for shm_open/unlink testsCarmelo Amoroso2009-07-302-2/+4
| | | | | | Fix and align build system of librt tests to the test suite. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* test/librt: make it build againDenys Vlasenko2009-07-231-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: fix one bug, one warning; extend README (one TODO added)Denys Vlasenko2009-07-233-14/+31
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: use KERNEL_HEADERSDenys Vlasenko2009-07-231-0/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add testcases for shm_{open,unlink}Bernhard Reutner-Fischer2009-07-032-0/+108
| | | | | Reported-by: Mikael Lund Jepsen <mlj@iccc.dk> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Fixed makefiles inclusion flow to pass actual configuration variable values.Carmelo Amoroso2009-03-1651-222/+341
| | | | | | | | | | | Test build system modified to be similar to uClibc one: * test custom logic moved from Makefile to a new Makefile.in (to be included by Makefile). * Makefile same for all tests and just used for including all other needed makefiles. Signed-off-by: Salvatore Cro <salvatore.cro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Added string.h header for strerr prototype.Carmelo Amoroso2009-03-161-0/+1
|
* - remove superfluous $(strip)Bernhard Reutner-Fischer2009-02-231-1/+1
|
* - remove dependency on GNU error functionalityBernhard Reutner-Fischer2009-02-231-8/+10
|
* - disable libcrypt tests if we have no libcryptBernhard Reutner-Fischer2009-02-231-0/+6
|
* test/math/compile_test.c: make it exit with 0 alwaysDenis Vlasenko2009-02-181-1/+2
|
* test/math/compile_test.c: add compile testing of (some) floatsDenis Vlasenko2009-02-171-2/+67
|
* libm/Makefile.in: reformat the list of wrappersDenis Vlasenko2009-02-171-62/+64
| | | | | | | | | | | | | | | 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.
* test/math/compile_test.c: "are long double functions even compile/link?" testDenis Vlasenko2009-02-173-3/+76
| | | | | *: fix everything which prevents above from building
* Pass NO_LONG_DOUBLE flag to basic-test when LONG_DOUBLECarmelo Amoroso2009-02-121-1/+3
| | | | | | | support is not enabled in uclibc to fix build. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* libm: add scalbf, gammaf, significandf wrappers.Denis Vlasenko2009-02-051-1/+0
| | | | | | This makes in possible to enable test/math (not it compiles, but has lots of test failures).
* libm/ldouble_wrappers.c: add libm_hidden_def's to fix testsuite buildDenis Vlasenko2009-02-023-2/+6
| | | | | | | 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
* Follow naming convention for tst-regex2 input file. All othersCarmelo Amoroso2009-01-282-1/+1
| | | | | | | are .dat suffix. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* "make utils" now successfully makes utils for targetDenis Vlasenko2009-01-281-2/+3
|
* test/regex/tst-regexloc.c: include ok/bad indicator in the messageDenis Vlasenko2008-12-252-19/+40
| | | | | test/regex/tst-regex2.c: do not exit at the first error
* test/regex/tst-regex2.c: fix the rest of testsuite failuresDenis Vlasenko2008-12-251-0/+4
|
* test/regex: make it faster to rebuild and run regex testcaseDenis Vlasenko2008-12-249-21/+29
|
* rename test fileDenis Vlasenko2008-12-241-0/+0
|
* test/Makefile: make "make compile" install headers firstDenis Vlasenko2008-12-244-223/+223
| | | | | | | | 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
* resolv: fix testcase failureDenis Vlasenko2008-12-171-8/+13
| | | | | test/regex/tst-regex2.c: fix testcase to compile with just "gcc <file>.c"
* Fix wcswidth function when LOCALE support is disabledCarmelo Amoroso2008-12-021-1/+1
| | | | | | | | | | 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>
* This patch fixes locale-mbwc test failures when __UCLIBC_HAS_LOCALE__ isCarmelo Amoroso2008-11-261-0/+24
| | | | | | | | | 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>
* Use C implementation of strncmp.Khem Raj2008-10-251-0/+1
| | | | Add a new strncmp testcase.
* - add and use EXTRA_DIRS to wipe the test/locale/C directoryBernhard Reutner-Fischer2008-10-104-1/+4
|
* - Include stdio.h for the perror prototype, use constants from stdlib.h,Bernhard Reutner-Fischer2008-10-101-3/+5
| | | | tidy up old-style function definition.
* - fix test. Tests are normal userspace and are _not_ part of the libc itselfBernhard Reutner-Fischer2008-10-091-1/+1
| | | | Thanks to Tobias Poschwatta for pointing out this error.
* Fix scandir function to reset the errno when the Carmelo Amoroso2008-10-061-0/+21
| | | | | | | | | | | 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>
* - add long double math wrappers (Ned Ludd)Bernhard Reutner-Fischer2008-10-031-5/+5
|