summaryrefslogtreecommitdiffstats
path: root/newlib/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-11-143-2/+61
| | | | | | | * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to only issue one pass/fail message for a compile/link/execute. * testsuite/newlib.elix/elix.exp: New file. * testsuite/newlib.elix/tmmap.c: Ditto.
* 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-10-182-0/+84
| | | | | * testsuite/newlib.wctype/tiswctype.c: New test case. * testsuite/newlib.wctype/twctrans.c: Ditto.
* 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-10-184-0/+86
| | | | | | | | | * testsuite/include/check.h: New header file to use with test cases. * testsuite/lib/newlib.exp: Add testsuite/include directory to list of header files to use. * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns. * testsuite/newlib.wctype/wctype.exp: New file.
* * libc/include/langinfo.h: New file.Thomas Fitzsimmons2002-08-232-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/include/wchar.h: Likewise. * libc/include/sys/syslimits.h: Likewise. * libc/locale/fix_grouping.c: Likewise. * libc/locale/ldpart.c: Likewise. * libc/locale/ldpart.h: Likewise. * libc/locale/lmessages.c: Likewise. * libc/locale/lmessages.h: Likewise. * libc/locale/lmonetary.c: Likewise. * libc/locale/lmonetary.h: Likewise. * libc/locale/lnumeric.c: Likewise. * libc/locale/lnumeric.h: Likewise. * libc/locale/nl_langinfo.3: Likewise. * libc/locale/nl_langinfo.c: Likewise. * libc/locale/timelocal.c: Likewise. * libc/locale/timelocal.h: Likewise. * libc/stdlib/btowc.c: Likewise. * libc/stdlib/mbrlen.c: Likewise. * libc/stdlib/mbrtowc.c: Likewise. * libc/stdlib/mbsinit.c: Likewise. * libc/stdlib/mbsrtowcs.c: Likewise. * libc/stdlib/wcrtomb.c: Likewise. * libc/stdlib/wcsrtombs.c: Likewise. * libc/stdlib/wctob.c: Likewise. * libc/sys/linux/prof-freq.c: Likewise. * libc/sys/linux/profile.c: Likewise. * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise. * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise. * libc/include/stdlib.h: Change re-entrant functions to take mbstate_t pointers. * libc/include/sys/_types.h: Define _mbstate_t. * libc/include/sys/config.h (MB_LEN_MAX): New macro. * libc/include/sys/errno.h (EILSEQ): New error code. * libc/include/sys/reent.h: Include wchar.h. Change reentrant structure to use mbstate_t. * libc/locale/Makefile.am (LIB_SOURCES): Add new files. * libc/machine/powerpc/vfprintf.c: Use mbstate_t. * libc/machine/powerpc/vfscanf.c: Likewise. * libc/stdio/getdelim.c: Reallocate buffer only when necessary. * libc/stdio/vfprintf.c: Likewise. * libc/stdio/vfscanf.c: Likewise. * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files. * libc/stdlib/mblen.c: Use mbstate_t. * libc/stdlib/mblen_r.c: Likewise. * libc/stdlib/mbstowcs.c: Likewise. * libc/stdlib/mbstowcs_r.c: Likewise. * libc/stdlib/mbtowc.c: Likewise. * libc/stdlib/mbtowc_r.c: Likewise. * libc/stdlib/wcstombs.c: Likewise. * libc/stdlib/wcstombs_r.c: Likewise. * libc/stdlib/wctomb_r.c: Likewise. * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and profile.c. * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add dl-procinfo.c. * libc/sys/linux/sys/errno.h (EILSEQ): New error code. * libc/sys/linux/sys/types.h (off_t): Define type. * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8 to C-UTF-8. * testsuite/newlib.locale/UTF-8.exp: Likewise.
* 2002-07-11 Chris Demetriou <cgd@broadcom.com>Jeff Johnston2002-07-112-0/+137
| | | | | | * testsuite/newlib.search/hsearchtest.c: New file to test newlib/libc/search. * testsuite/newlib.search/hsearchtest.exp: Likewise.
* * testsuite/lib/passfail.exp (newlib_pass_fail_all): NewThomas Fitzsimmons2002-06-183-26/+39
| | | | | | | | procedure. (newlib_pass_fail): Change to compile and run only one file. * testsuite/newlib.locale/locale.exp: Use new newlib_pass_fail_all procedure. * testsuite/newlib.string/string.exp: Likewise.
* 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-183-1/+62
| | | | | | | * testsuite/newlib.stdlib/atexit.c: New file. * testsuite/newlib.stdlib/atexit.exp: Ditto. * testsuite/newlib.string/tstring.c: Change default start size to something more reasonable for embedded platforms.
* * testsuite/lib/newlib.exp: Add newlib_include_flags to compileThomas Fitzsimmons2002-05-161-1/+1
| | | | options when testing natively on i[3456]86-*-linux.
* * testsuite/lib/checkoutput.exp (newlib_check_output): OutputThomas Fitzsimmons2002-05-153-119/+119
| | | | | | | | | only one pass or fail per test file. Trim \r's from output values received from test programs. Remove support for named tests. * testsuite/newlib.locale/UTF-8.exp: Update to support new newlib_check_output behaviour. * testsuite/newlib.locale/UTF-8.c: Likewise.
* * Add flags.exp.Thomas Fitzsimmons2002-05-011-0/+82
|
* * Makefile.am (site.exp): Remove newlib_cflags. AddThomas Fitzsimmons2002-05-012-18/+10
| | | | | | | | | multibuildtop. * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's. * testsuite/lib/flags.exp: New file. * testsuite/lib/newlib.exp: Load flags.exp. (newlib_target_compile): Remove libgloss directory references. (newlib_init): Remove newlib_cflags references.
* * testsuite/lib/newlib.exp (newlib_target_compile): ChangeThomas Fitzsimmons2002-04-301-1/+1
| | | | method of finding libgloss_target_dir.
* * Makefile.am (site.exp): Change host_alias, host_triplet,Thomas Fitzsimmons2002-04-301-12/+11
| | | | | | | | | | target_alias, target_triplet to refer to gcc's host and target variables (newlib's build and host variables). * testsuite/lib/newlib.exp (newlib_init): Change build references to host references, host references to target references to reflect Makefile.am changes. (newlib_target_compile): Likewise. (newlib_finish): Likewise.
* * Makefile.am (check-DEJAGNU): New target.Thomas Fitzsimmons2002-04-249-0/+1055
(site.exp): Likewise. * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD. * libc/locale/locale.c (_setlocale_r): Add UTF-8 support. * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise. * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise. * testsuite: New directory. * testsuite/config: Likewise. * testsuite/lib: Likewise. * testsuite/newlib.locale: Likewise. * testsuite/newlib.string: Likewise. * testsuite/config/default.exp: New file. * testsuite/lib/checkoutput.exp: New file. * testsuite/lib/newlib.exp: New file. * testsuite/lib/passfail.exp: New file. * testsuite/newlib.locale/UTF-8.c: New file. * testsuite/newlib.locale/UTF-8.exp: New file. * testsuite/newlib.locale/locale.exp: New file. * testsuite/newlib.string/string.exp: New file. * testsuite/newlib.string/tstring.c: New file.