summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | test_tls: Rename tst-tls16 to tst-tls-at-ctorCarmelo Amoroso2009-12-033-5/+5
| | | | | | | | | | | | | | | | Rename tst-tls16 to tst-tls-at-ctor (including main and related shared object) to avoid name clashing with new tests ported from glibc. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | build: Move test build flags in Makefile.inCarmelo Amoroso2009-12-032-1/+1
| | | | | | | | | | | | | | Move test build flags in Makefile.in Makefile should be used only as a container for other sub Makefiles Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | test/.gitignore: ignore a missed nptl test binaryAustin Foxley2009-11-291-1/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/.gitignore: Ignore a few more test binariesAustin Foxley2009-11-291-0/+3
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/Rules.mak: disable -z,defs for nowAustin Foxley2009-11-291-2/+2
| | | | | | | | | | | | | | * A bunch of the nptl tests don't compile when -z,defs is on * also turn on -std=gnu99 for the HOSTCC (_glibc) compiles Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/nptl: rework tst-tls3 to link with -z,nowAustin Foxley2009-11-293-11/+32
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/: compile fixes for nptl and tls testsAustin Foxley2009-11-294-10/+25
| | | | | | | | | | | | | | | | | | | | * Add a GLIBC_TESTS_DISABLED var because many of these tests need internal uClibc stuff. This disables the HOSTCC build of these tests * Fix up tls test macros for x86 * Fix the linking of the tls tests Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/nptl: don't use c99 features if you don't need toAustin Foxley2009-11-291-1/+2
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test: nptl and tls tests need main include dirAustin Foxley2009-11-292-0/+2
| | | | | | | | 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>
* | Merge remote branch 'origin/master' into nptlAustin Foxley2009-11-2811-29/+1622
|\| | | | | | | 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>
* | 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
|