summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* add MULTILIB_DIR: Path component for libdirsBernhard Reutner-Fischer2010-03-121-1/+1
| | | | | | defaults to "lib". Other prominent values include "lib32" or "lib64" Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* libm: enable log2f and exp2fAurelien Jacobs2010-02-041-2/+2
| | | | | Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* add gethostid() testcaseBernhard Reutner-Fischer2010-02-031-0/+6
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* test/math: put scalbf test under susv3 legacy defineAustin Foxley2009-12-272-1/+5
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* test_dlopen: Remove extra -lpthread from LD_FLAGS for dltest{2}Filippo Arcidiacono2009-12-091-2/+2
| | | | | | | | | | dltest and dltest2 do not refer any symbols implemented in pthread library, so do not explicitly link them with pthread. It is required only for the shared objects that are loaded via dlopen by those tests. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* test/.gitignore: Ignore a few more test binariesAustin Foxley2009-11-291-0/+3
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* test/dlopen: fix build for libtest.soAustin Foxley2009-11-291-0/+1
| | | | | | needs -lpthread, recent addition of -z,defs and -z,now exposed this Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* test/dlopen: Match the function name that libtest actually setsAustin Foxley2009-11-291-1/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* test/pthread: fix build of cancellation-points testAustin Foxley2009-11-291-2/+2
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* test/stat: fix compiling the memcmp-stat test when __USE_MISC is definedAustin Foxley2009-11-291-1/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* try to probe if stat.t_mtim.tv_nsec is availableBernhard Reutner-Fischer2009-11-262-20/+36
| | | | | | Do not treat tv_nsec mismatches as errors on filesystems without support for it. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* correct commentBernhard Reutner-Fischer2009-11-261-3/+1
| | | | | | and disable built-in rules Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* sync confname, environments with glibcBernhard Reutner-Fischer2009-11-265-1/+1563
| | | | | | | Plus related synch. Add a testcase for the sysconf variables based on the one from glibc Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* ignore some more testcase binariesBernhard Reutner-Fischer2009-11-251-0/+7
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* call nanosleep directlyBernhard Reutner-Fischer2009-11-252-4/+10
| | | | | | | usleep is a SUSv3 function. TODO: nanosleep moved from SUSv3 Timers to SUSv4 Base Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* conditional cancellation-point test of usleepBernhard Reutner-Fischer2009-11-251-0/+4
| | | | | | usleep is a SUSv3 function Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* pass more ld flagsBernhard Reutner-Fischer2009-11-251-1/+1
| | | | | | add -z defs,now Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.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>
* 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