diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-11-07 23:47:05 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-11-07 23:47:05 +0000 |
commit | fe359733a40391e86514cb26cbe7a79416313881 (patch) | |
tree | 021953775edbc4d818fccce2955b8586cf7da8be /newlib/testsuite | |
parent | 0a5ea9471bff6e0fb314b0a6361c6f57224f0505 (diff) | |
download | newlib-fe359733a40391e86514cb26cbe7a79416313881.zip newlib-fe359733a40391e86514cb26cbe7a79416313881.tar.gz newlib-fe359733a40391e86514cb26cbe7a79416313881.tar.bz2 |
2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
x86 build.
* iconvdata/Makefile.am: Make dependent on newlib's configure.host
and set up default flags to pass to aclocal.
* iconvdata/Makefile.in: Regenerated.
* libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
and getpwuid routines.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/getlogin.c: New stub file to allow x86-linux
applications to link with newlib's shared libc library.
* libc/sys/linux/getpwnam.c: Ditto.
* libc/sys/linux/getpwuid.c: Ditto.
* libc/sys/linux/sys/types.h: Include <features.h> and supply types
that were formerly supplied by /usr/include/linux/types.h with
kernel types.
* testsuite/newlib.wctype/twctype.c: Fix testcase to properly
test _ELIX_LEVEL macro.
Diffstat (limited to 'newlib/testsuite')
-rw-r--r-- | newlib/testsuite/newlib.wctype/twctype.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/testsuite/newlib.wctype/twctype.c b/newlib/testsuite/newlib.wctype/twctype.c index 7adf508..d206876 100644 --- a/newlib/testsuite/newlib.wctype/twctype.c +++ b/newlib/testsuite/newlib.wctype/twctype.c @@ -8,9 +8,8 @@ int main() { - if (_ELIX_LEVEL == 1) - { /* no testing..wctype functions aren't present */ } - else if (_MB_LEN_MAX == 1) +#if !defined(_ELIX_LEVEL) || _ELIX_LEVEL > 1 + if (_MB_LEN_MAX == 1) { CHECK (iswalpha(L'a')); CHECK (!iswalpha(L'3')); @@ -59,6 +58,7 @@ int main() CHECK (iswxdigit(L'A')); CHECK (!iswxdigit(0x1f48)); } +#endif exit (0); } |