diff options
Diffstat (limited to 'newlib/testsuite')
-rw-r--r-- | newlib/testsuite/newlib.stdio/stdio.exp | 12 | ||||
-rw-r--r-- | newlib/testsuite/newlib.stdio/swprintf.c | 30 |
2 files changed, 0 insertions, 42 deletions
diff --git a/newlib/testsuite/newlib.stdio/stdio.exp b/newlib/testsuite/newlib.stdio/stdio.exp deleted file mode 100644 index 164cbf353..000000000 --- a/newlib/testsuite/newlib.stdio/stdio.exp +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright (C) 2011 by ARM Ltd. All rights reserved. -# -# Permission to use, copy, modify, and distribute this software -# is freely granted, provided that this notice is preserved. -# - -load_lib passfail.exp - -set exclude_list { -} - -newlib_pass_fail_all -x $exclude_list diff --git a/newlib/testsuite/newlib.stdio/swprintf.c b/newlib/testsuite/newlib.stdio/swprintf.c deleted file mode 100644 index b925da487..000000000 --- a/newlib/testsuite/newlib.stdio/swprintf.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (C) 2011 by ARM Ltd. All rights reserved. - * - * Permission to use, copy, modify, and distribute this software - * is freely granted, provided that this notice is preserved. - */ - -#include <stdio.h> -#include <newlib.h> -#include <stdlib.h> -#include <wchar.h> -#include "check.h" - -int main() -{ -#if defined(INTEGER_ONLY) || defined(NO_FLOATING_POINT) - -#else - char cbuf[512]; - wchar_t wcbuf[512], wcbuf2[512]; - double val = 1E+308; - snprintf(cbuf, 512, "%.*f", 3, val); - swprintf(wcbuf, 512, L"%.*f", 3, val); - mbstowcs(wcbuf2, cbuf, 512); - - CHECK (wcscmp(wcbuf, wcbuf2) == 0); -#endif - - exit (0); -} |