summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2010-04-13test: add API testBernhard Reutner-Fischer
part1; Needs improvement: Think about a sensible way to map feature sets to the mandated syms. Our LEGACY stuff maps to OB, OBXSI for example. A "normal" config should satisfy the BASE (i.e. $foo.SUSv4.syms) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-04-06getconf: move to utils/Bernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-03-12add MULTILIB_DIR: Path component for libdirsBernhard Reutner-Fischer
defaults to "lib". Other prominent values include "lib32" or "lib64" Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-02-04libm: enable log2f and exp2fAurelien Jacobs
Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2010-02-03add gethostid() testcaseBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-12-27test/math: put scalbf test under susv3 legacy defineAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-12-09test_dlopen: Remove extra -lpthread from LD_FLAGS for dltest{2}Filippo Arcidiacono
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>
2009-11-29test/.gitignore: Ignore a few more test binariesAustin 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-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-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-10-22test/plt: add a script to find PLT usageMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
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
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