summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* futimens: add functionBernhard Reutner-Fischer2009-11-222-0/+92
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* make test-skeleton C89 compliantBernhard Reutner-Fischer2009-11-221-4/+7
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* SUSv4: disable isascii, toascii, _toupper, _tolowerBernhard Reutner-Fischer2009-11-221-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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* test: sync up with toplevel buildsysAustin Foxley2009-11-222-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> Conflicts: test/Rules.mak Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* .gitignore more testfilesBernhard Reutner-Fischer2009-11-221-1/+10
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* make tls and nptl test buildBernhard Reutner-Fischer2009-11-194-249/+257
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Look at HAVE_SHAREDBernhard Reutner-Fischer2009-11-191-1/+1
| | | | | | We do not have UCLIBC_STATIC (anymore) but !HAVE_SHARED Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.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>
* tls: test for DTV vs TCB at TP correctlyAustin Foxley2009-09-231-2/+2
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* test/librt: make it build againDenys Vlasenko2009-08-191-0/+3
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* testsuite: fix one bug, one warning; extend README (one TODO added)Denys Vlasenko2009-08-193-14/+31
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* testsuite: use KERNEL_HEADERSDenys Vlasenko2009-08-191-0/+10
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> 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>
* Sync nptl branch to masterAustin Foxley2009-07-091-2/+3
| | | | | | | | | | | | | | Cherry picked these commits: afdfa59588: Do not install libc-XXX.h files fb863f7592: Make HARDWIRED_ABSPATH a config option e0c8160a38: Allow people to run hostutils targets without .config e0da861a29: Don't rely on features.h ac1087a727: Denis's resolv.c cleanup Pulled out the thread local __res_state in resolv. Will reapply it in a future commit. Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Cherry-picked some old commits into nptl:Austin Foxley2009-07-091-8/+10
| | | | | | | | | | | | | | | | | | | The goal is to bring nptl closer to head so it can merged easier. This commit just syncs up some things that were never modified on the nptl branch. d38ad7827e: tst-calloc.c remove dependency on GNU error functionality 1055a181ad: utils/ldd.c include more info in error messages 0d5aec1211: utils/mmap-windows.c add mmap/munmap implementation for Windows 14fd4a3a31: utils/porting.h unify byte order cruft utils/bswap.h add bswap_64 replacement 32242e7e10: utils/* unify header/random defines into porting.h Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* add testcases for shm_{open,unlink}Bernhard Reutner-Fischer2009-07-092-0/+108
| | | | | | Reported-by: Mikael Lund Jepsen <mlj@iccc.dk> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* git: Added/Modified .gitignoreFilippo Arcidiacono2009-07-021-0/+254
| | | | | | | Added .gitignore files to exclude others generated files. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Merged revisions 25669-25670,25673-25674 via svnmerge from Khem Raj2009-03-1652-216/+342
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.uclibc.org/svn/trunk/uClibc ........ r25669 | vapier | 2009-03-15 23:14:34 -0700 (Sun, 15 Mar 2009) | 1 line import user.h from the kernel as it is no longer exported by the kernel ........ r25670 | vapier | 2009-03-15 23:16:15 -0700 (Sun, 15 Mar 2009) | 1 line enable mprotect() regardless of MMU as some systems have MPUs which allows memory protection ........ r25673 | carmelo | 2009-03-16 06:33:27 -0700 (Mon, 16 Mar 2009) | 2 lines Added string.h header for strerr prototype. ........ r25674 | carmelo | 2009-03-16 06:36:39 -0700 (Mon, 16 Mar 2009) | 10 lines Fixed makefiles inclusion flow to pass actual configuration variable values. 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> ........
* Add stdlib.h header for exit prototype.Carmelo Amoroso2009-02-191-0/+1
|
* 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
* Fix tls testcases to not use 'asm' keyword due to new CFLAGS -fno-asm.Carmelo Amoroso2009-01-298-129/+129
| | | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix filterout directive.Carmelo Amoroso2009-01-281-1/+1
|
* Fixed NPTL tests build and cleanup:Carmelo Amoroso2009-01-285-6/+7
| | | | | | | | | | - tst-mqueue6.c: remove cast to undefined type - tst-timer4.c: remove cast to undefined type - tst-mqueue1.c: avoid compiler warning due to different signedness - tst-cancel7.c: comment out unsed code to silent compiler warning Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Must include tls.h before link.h to have TLS related field available in ↵Carmelo Amoroso2009-01-283-3/+3
| | | | | | | | | | | struct link_map. This change is now required after recent clean-up of installed headers. Likely we were including tls.h indirectly. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* 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>
* Synch with trunk: miscellaneous changes, mostly cleanup,Carmelo Amoroso2009-01-222-19/+40
| | | | | | | code styling, comments. No object-code changes. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* 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
|
* test/Makefile: make "make compile" install headers firstDenis Vlasenko2008-12-245-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
* ldso/ldso/mips/*: non-pic support from trunkDenis Vlasenko2008-12-231-8/+13
| | | | | | | | | | libc/string/*: small fixes sync from trunk test/regex/tst-regex2.c: small fixes sync from trunk libc/misc/time/time.c: optimization from trunk: text data bss dec hex filename - 854 24 0 878 36e libc/misc/time/_time_localtime_tzi.os + 818 16 0 834 342 libc/misc/time/_time_localtime_tzi.os
* Fix wcswidth function when LOCALE support is disabledCarmelo Amoroso2008-12-021-1/+1
| | | | | | | | | | while keeping WCHAR support enabled. This solves two testcases: tst_wcwidth and tst_wcswidth. Fix dat_iswctype.c fiinput file: character 0x80 is not a control character: it fixes tst_iswctype test. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
* Synch with trunk @ 24160Carmelo Amoroso2008-11-276-2/+28
| | | | Step 15: test folder synch.
* Synch with trunk @ 24160Carmelo Amoroso2008-11-273-7/+6
| | | | Step 13: build system updates.
* This patch fixes locale-mbwc test failures when __UCLIBC_HAS_LOCALE__ isCarmelo Amoroso2008-11-261-0/+24
| | | | | | | | | disabled and __UCLIBC_HAS_WCHAR__ is enabled. The only locale available when __UCLIBC_HAS_LOCALE__ is disabled is the C locale, the others locale are skipped. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
* ldso: Initialize fully dtv before calling the constructors.Carmelo Amoroso2008-11-173-1/+51
| | | | | | | | | | If a shared object has a constructor that accesses a TLS variable using the localor global synamic access model (that is by calling the __tls_get_addr function), all the filed of each dtv entry must be already initialized to point to the right address in the TLS static block Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Remove pointless extern declaration for __pthread_onceCarmelo Amoroso2008-08-201-2/+0
|
* Use pthread_once now __pthread_once is not defined in tests.Khem Raj2008-08-151-1/+1
|
* &> seems like tcsh like. busybox/ash does not seem to like it I am getting ↵Khem Raj2008-08-151-1/+1
| | | | wrong fd number error. So I replaced it with something that makes ash happy.
* Remove trailing whitespaces: two missing filesCarmelo Amoroso2008-07-312-5/+5
|
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-3115-29/+32
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix build failure:Carmelo Amoroso2008-07-291-0/+2
| | | | | | | | | | | | | sh4-linux-uclibc-gcc \ -Wall -Wstrict-prototypes -Os -funit-at-a-time -fno-tree-loop-optimize -fno-tree-dominator-opts -fno-strength-reduce -fstrict-aliasing -mprefergot -Os -D_GNU_SOURCE -I../../test -ml -m4 -nostdinc -I../../install_dir/usr/include -I/opt/STM/STLinux-2.3/devkit/sh4_uclibc/lib/gcc/sh4-linux-uclibc/4.2.1//include-fixed -I/opt/STM/STLinux-2.3/devkit/sh4_uclibc/lib/gcc/sh4-linux-uclibc/4.2.1/include \ -fPIC -shared libtest.c -o libtest.so -Wl,-soname,libtest.so \ -s -B../../lib -Wl,-rpath,../../lib -Wl,-rpath-link,../../lib -Wl,-rpath,./ -Wl,--dynamic-linker,"/lib"/ld-uClibc.so.0 -Wl,--hash-style=gnu libtest.c: In function 'dltest': libtest.c:8: error: '__pthread_once' undeclared (first use in this function) libtest.c:8: error: (Each undeclared identifier is reported only once libtest.c:8: error: for each function it appears in.) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-124-2/+116
| | | | Add NTPL testing support for ARM.