summaryrefslogtreecommitdiff
path: root/test/Test.mak
AgeCommit message (Collapse)Author
2015-03-27test: Add SIMULATOR_uclibc and SIMULATOR_glibcBernhard Reutner-Fischer
where SIMULATOR_glibc is an optional simulator to run host binaries and SIMULATOR_uclibc is an optional simulator to run target (uClibc) binaries. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-03-20inet: Fix LT{.old,} compilation due to res_icloseBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-03-14test: compile test{,_glibc} adjacentBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-02-11test: run test{,_glibc} adjacentBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-02-07tests: add OMIT logic to remove compilation flag.Filippo ARCIDIACONO
Add OMIT logic to remove compilation flags when compiling libraries, binaries( both host and target) Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2010-10-30test/math/*: unbreakDenys Vlasenko
test/math was not running at all, presume it has bit rotted: It was trying to run libm-test.c as if it is a binary. It was looking for libm-test-ulps (file with allowed errors in lower bits) in arch-specific dirs which do not exist in uclibc, as a result wrong file (libm-test.inc) was used instead. Test failure was not showing the error result, user had to fish it out from some .out files. I added libm-test-ulps-ARCH files from recent glibc, this filtered out a lot of false positives. For example, cosf(M_PI_6l * 4.0) ideally should be -0.5, we are getting -0.50000005047356477217, and this isn't a failure (the difference is one lowest bit of mantissa). "make check UCLIBC_ONLY=1 VERBOSE=1" still fails, but not as catastrophically as before. For the record, the failure occurs on the stage where we check 32-bit float functions, these tests fail: Failure: Test: modf (NaN, &x) == NaN Failure: Test: ilogb (NaN) == FP_ILOGBNAN plus exceptions allowed Failure: Test: scalb (2.0, 0.5) == NaN plus invalid exception Failure: Test: scalb (3.0, -2.5) == NaN plus invalid exception Failure: Test: scalb (0, NaN) == NaN Failure: Test: scalb (1, NaN) == NaN Failure: Test: scalb (0, inf) == NaN plus invalid exception Failure: Test: scalb (-0, inf) == NaN plus invalid exception Failure: Test: scalb (1, inf) == inf Failure: Test: scalb (-1, inf) == -inf Failure: Test: scalb (inf, -inf) == NaN plus invalid exception Failure: Test: scalb (-inf, -inf) == NaN plus invalid exception Failure: Test: scalb (1, NaN) == NaN Failure: Test: scalb (0, NaN) == NaN Failure: Test: scalb (inf, NaN) == NaN Failure: Test: pow (1, NaN) == 1 Failure: Test: pow (1, inf) == 1 Failure: Test: pow (-1, inf) == 1 Failure: Test: pow (1, -inf) == 1 Failure: Test: pow (-1, -inf) == 1 Failure: Test: rint (0.5) == 0.0 Failure: Test: rint (1.5) == 2.0 Failure: Test: rint (2.5) == 2.0 Failure: Test: rint (3.5) == 4.0 Failure: Test: rint (4.5) == 4.0 Failure: Test: rint (-0.5) == -0.0 Failure: Test: rint (-1.5) == -2.0 Failure: Test: rint (-2.5) == -2.0 Failure: Test: rint (-3.5) == -4.0 Failure: Test: rint (-4.5) == -4.0 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-29test/: compile fixes for nptl and tls testsAustin Foxley
* 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>
2009-11-28Merge remote branch 'origin/master' into nptlAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.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-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-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-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-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>
2008-10-10- add and use EXTRA_DIRS to wipe the test/locale/C directoryBernhard Reutner-Fischer
2008-10-02Fix bad commit 23574 for io redirecting when running the test suiteHans-Christian Egtvedt
This patch fixes the previous r23574 and uses a correct syntax for redirecting. ./foo > bar.out 2>&1
2008-10-02Use more generic redirecting of output in the test suiteHans-Christian Egtvedt
This patch replaces the "&> file" with "> file 2>> file". The latter is compatible with Busybox ash shell, which makes it easier to run the test suite on target. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-07-11- remove the error counterBernhard Reutner-Fischer
2008-07-11- add error-counter, do not immediately exit if a testcase fails but printBernhard Reutner-Fischer
the overall error-counter at the end and exit accordingly.
2008-07-02Fix makefile target to run test when there are some shell script.Carmelo Amoroso
SImply do not include SHEL_TESTS among RUNTIME_TESTS, because shell script have a their own rule to be excuted. The runtime evaluation by using the $(shell ...) command doesn't work due to immediate expansion of shell function. Currently only nptl tests have shell script, so this problem have been never discovered before. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-01-09no need to delete the binary upon failureMike Frysinger
2007-03-05New test targets 'compile' and 'run'Khem Raj
2007-01-29fixup prototype warningsMike Frysinger
2007-01-29make error output a little more helpfulMike Frysinger
2006-12-16start pulling in top level Rules.mak so we get access to import ↵Mike Frysinger
CFLAGS/LDFLAGS/CPPFLAGS
2006-11-18Add CHECK_ONLY option to allow for running the tests on the target instead ↵"Steven J. Hill"
of attempting to link or compile them. Perhaps I don't fully understand the test structure, but for TLS and NPTL the tests cannot be compiled on the target without a full source tree.
2006-06-26also kill gdb files when building BFLT filesMike Frysinger
2006-03-02Remove CFLAGS-OMIT support, rename getline to get testregex compile w/ ↵Peter S. Mazinger
-D_GNU_SOURCE
2006-03-01dont execute shell tests if we just want to compileMike Frysinger
2006-03-01Add CFLAGS-OMIT support to glibc targets for now being the same as for ↵Peter S. Mazinger
uclibc targets, adapt regex
2006-03-01Add support to remove a flag from CFLAGSPeter S. Mazinger
2006-03-01add support for shell script testsMike Frysinger
2006-02-28fail if test.c is found so i stop screwing myself upMike Frysinger
2006-02-22make sure we clean everythingMike Frysinger
2006-02-15touchup output some more and add support for implicit TEST defining/disablingMike Frysinger
2006-02-14allow subdirs to define extra clean filesMike Frysinger
2006-02-14- tighten up outputMike Frysinger
- add support for per-test and per-subdir CFLAGS/LDFLAGS - move common uClibc/glibc code into defines - add support for diffing output between uClibc/glibc - add rules for generating libraries (needed by dlopen) ... only supports uClibc atm though
2005-11-15add a way to just run uclibc or glibc testsMike Frysinger
2005-07-02new testing framework to unify duplicated code in subdirsMike Frysinger