summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2009-11-29test: nptl and tls tests need main include dirAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-11-29test/dlopen: fix build for libtest.soAustin Foxley
needs -lpthread, recent addition of -z,defs and -z,now exposed this Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-11-29test/dlopen: Match the function name that libtest actually setsAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-11-29test/pthread: fix build of cancellation-points testAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-11-29test/stat: fix compiling the memcmp-stat test when __USE_MISC is definedAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-11-28Merge remote branch 'origin/master' into nptlAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-11-26try to probe if stat.t_mtim.tv_nsec is availableBernhard Reutner-Fischer
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>
2009-11-26correct commentBernhard Reutner-Fischer
and disable built-in rules Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-26sync confname, environments with glibcBernhard Reutner-Fischer
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>
2009-11-25ignore some more testcase binariesBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-25call nanosleep directlyBernhard Reutner-Fischer
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>
2009-11-25conditional cancellation-point test of usleepBernhard Reutner-Fischer
usleep is a SUSv3 function Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-25pass more ld flagsBernhard Reutner-Fischer
add -z defs,now Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-22Merge remote branch 'origin/master' into nptl_mergeAustin Foxley
Conflicts: Rules.mak libc/misc/sysvipc/msgq.c test/Rules.mak Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-11-22make tls and nptl test buildBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-11-22Look at HAVE_SHAREDBernhard Reutner-Fischer
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>
2009-11-20futimens: add functionBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-20make test-skeleton C89 compliantBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-19SUSv4: disable isascii, toascii, _toupper, _tolowerBernhard Reutner-Fischer
[__]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>
2009-11-19test: sync up with toplevel buildsysBernhard Reutner-Fischer
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>
2009-11-19.gitignore more testfilesBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-09test/plt: add a script to find PLT usageMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-10-22test/plt: add a script to find PLT usageMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-10-17whitespace fixesAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-10-17build system changes needed for nptlAustin Foxley
* 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>
2009-10-17test/tls/: tests for thread local storage functionalityAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-10-17test/nptl/: tests for NPTLAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-10-17add .gitignore for test/ and extra/Austin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-10-17test/dlopen: use pthread_once directlyAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-07-30test_librt: Fix shmtest.c test caseCarmelo Amoroso
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>
2009-07-30test_librt: Fix build system for shm_open/unlink testsCarmelo Amoroso
Fix and align build system of librt tests to the test suite. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2009-07-23test/librt: make it build againDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-23testsuite: fix one bug, one warning; extend README (one TODO added)Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-23testsuite: use KERNEL_HEADERSDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-03add testcases for shm_{open,unlink}Bernhard Reutner-Fischer
Reported-by: Mikael Lund Jepsen <mlj@iccc.dk> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-03-16Fixed makefiles inclusion flow to pass actual configuration variable values.Carmelo Amoroso
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>
2009-03-16Added string.h header for strerr prototype.Carmelo Amoroso
2009-02-23- remove superfluous $(strip)Bernhard Reutner-Fischer
2009-02-23- remove dependency on GNU error functionalityBernhard Reutner-Fischer
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