Jeff Johnston
665b994e3a
2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-11-14 23:04:05 +00:00
Jeff Johnston
978ea3cf1c
2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
...
* testsuite/newlib.wctype/tiswctype.c: New test case.
* testsuite/newlib.wctype/twctrans.c: Ditto.
2002-10-18 23:39:07 +00:00
Jeff Johnston
94c5b430a1
2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
...
* 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.
2002-10-18 18:18:49 +00:00
Thomas Fitzsimmons
8d9112f2f3
* libc/include/langinfo.h: New file.
...
* 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-08-23 01:56:05 +00:00
Jeff Johnston
2fc8291218
2002-07-11 Chris Demetriou <cgd@broadcom.com>
...
* testsuite/newlib.search/hsearchtest.c: New file to test
newlib/libc/search.
* testsuite/newlib.search/hsearchtest.exp: Likewise.
2002-07-11 14:59:24 +00:00
Thomas Fitzsimmons
c9ca68d7b5
* testsuite/lib/passfail.exp (newlib_pass_fail_all): New
...
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 22:39:17 +00:00
Jeff Johnston
4e04fa902a
2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
...
* 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.
2002-06-18 16:07:14 +00:00
Thomas Fitzsimmons
a68fa57101
* testsuite/lib/newlib.exp: Add newlib_include_flags to compile
...
options when testing natively on i[3456]86-*-linux.
2002-05-16 00:17:50 +00:00
Thomas Fitzsimmons
3495f076f3
* testsuite/lib/checkoutput.exp (newlib_check_output): Output
...
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.
2002-05-15 23:48:47 +00:00
Thomas Fitzsimmons
6e9d950a91
* Add flags.exp.
2002-05-01 17:06:25 +00:00
Thomas Fitzsimmons
1e997c5625
* Makefile.am (site.exp): Remove newlib_cflags. Add
...
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.
2002-05-01 17:05:44 +00:00
Thomas Fitzsimmons
f6bdb6f976
* testsuite/lib/newlib.exp (newlib_target_compile): Change
...
method of finding libgloss_target_dir.
2002-04-30 23:10:21 +00:00
Thomas Fitzsimmons
4cf4f010fb
* Makefile.am (site.exp): Change host_alias, host_triplet,
...
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.
2002-04-30 22:38:07 +00:00
Thomas Fitzsimmons
eaa75b70e3
* Makefile.am (check-DEJAGNU): New target.
...
(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.
2002-04-24 20:53:30 +00:00