summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2018-08-16 18:23:21 -0500
committerJoel Sherrill <joel@rtems.org>2018-08-23 09:28:24 -0500
commit73f7a28382b816ba17561791e48eed86cfb9ed68 (patch)
tree441e5fb53735e065e06c78c9cc8d3653a9df97c7
parent859096bd78dd8148dd13752621382ba1d7ee7e73 (diff)
Add newlib to rest test documentnewlib-tester
-rw-r--r--newlib-tester/conf.py14
-rwxr-xr-xnewlib-tester/do_rst35
-rw-r--r--newlib-tester/index.rst663
-rw-r--r--newlib-tester/isalnum_goal.rst52
-rw-r--r--newlib-tester/wscript11
-rw-r--r--wscript1
6 files changed, 776 insertions, 0 deletions
diff --git a/newlib-tester/conf.py b/newlib-tester/conf.py
new file mode 100644
index 0000000..2d083e4
--- /dev/null
+++ b/newlib-tester/conf.py
@@ -0,0 +1,14 @@
+import sys, os
+sys.path.append(os.path.abspath('../common/'))
+
+from conf import *
+
+project = "RTEMS Newlib Rest Tester"
+
+latex_documents = [
+ ('index',
+ 'newlib-tester.tex',
+ u'RTEMS Newlib RTEMS Tester',
+ u'RTEMS Documentation Project',
+ 'manual'),
+]
diff --git a/newlib-tester/do_rst b/newlib-tester/do_rst
new file mode 100755
index 0000000..3c07c35
--- /dev/null
+++ b/newlib-tester/do_rst
@@ -0,0 +1,35 @@
+#! /bin/sh
+#
+# Find all the newlib C files with documentation markup and convert
+# them to Rest.
+#
+
+### XXX LOCALIZE THESE
+newlib=/home/joel/test-gcc/newlib-cygwin
+outd=/home/joel/rtems-work/rtems-docs/newlib-tester/newlib-rest
+converter=${newlib}/../NewlibMarkup2SphinxConverter
+
+startd=`pwd`
+
+rm -rf ${outd}
+mkdir ${outd}
+
+find ${newlib}/newlib -name "*.c" | \
+ sed -e '/libc\/machine\//d' -e '/libc\/sys\//d' | \
+ xargs -e grep -l "^FUNCTION" | \
+while read f
+do
+ foutd=`dirname ${f} | sed -e 's/^.*\/newlib\///'`
+ foutd=${outd}/${foutd}
+ if [ ! -d ${foutd} ] ; then
+ mkdir -p ${foutd}
+ fi
+
+ rstf=`basename ${f} | sed -e 's/\.c$/.rst/'`
+ # echo "${f} -> ${foutd}/${rstf}"
+ ${converter}/gen_rst_from_makedoc.py \
+ -c ${f} \
+ -r ${foutd}/${rstf}
+
+
+done
diff --git a/newlib-tester/index.rst b/newlib-tester/index.rst
new file mode 100644
index 0000000..6d38cdd
--- /dev/null
+++ b/newlib-tester/index.rst
@@ -0,0 +1,663 @@
+.. comment SPDX-License-Identifier: CC-BY-SA-4.0
+
+================================================
+NEWLIB OUTPUT TESTER
+================================================
+
+ | **COPYRIGHT (c) 1988 - 2015.**
+ | **On-Line Applications Research Corporation (OAR).**
+ | **COPYRIGHT (c) 2016-2017.**
+ | **RTEMS Foundation, The RTEMS Documentation Project**
+
+ | **Licenses:**
+ | Creative Commons Attribution-ShareAlike 4.0 International Public License
+ | https://creativecommons.org/licenses/by-sa/4.0/legalcode
+
+
+The authors have used their best efforts in preparing this material. These
+efforts include the development, research, and testing of the theories and
+programs to determine their effectiveness. No warranty of any kind, expressed
+or implied, with regard to the software or the material contained in this
+document is provided. No liability arising out of the application or use of
+any product described in this document is assumed. The authors reserve the
+right to revise this material and to make changes from time to time in the
+content hereof without obligation to notify anyone of such revision or changes.
+
+The RTEMS Project is hosted at http://www.rtems.org/. Any inquiries concerning
+RTEMS, its related support components, or its documentation should be directed
+to the Community Project hosted at http://www.rtems.org/.
+
+.. topic:: RTEMS Online Resources
+
+ ================ =============================
+ Home https://www.rtems.org/
+ Developers https://devel.rtems.org/
+ Documentation https://docs.rtems.org/
+ Bug Reporting https://devel.rtems.org/query
+ Mailing Lists https://lists.rtems.org/
+ Git Repositories https://git.rtems.org/
+ ================ =============================
+
+.. toctree::
+ :maxdepth: 5
+ :numbered:
+
+Example Chapter
+***************
+
+Example Subheading
+==================
+
+.. include:: isalnum_goal.rst
+
+
+.. comment ******* ctype.h *******
+C Library Character Types
+*************************
+
+Introduction
+============
+
+TBD
+
+Background
+==========
+
+There is currently no text in this section.
+
+Operations
+==========
+
+There is currently no text in this section.
+
+Services
+========
+
+.. include:: newlib-rest/libc/ctype/isalnum.rst
+.. include:: newlib-rest/libc/ctype/isalpha.rst
+.. include:: newlib-rest/libc/ctype/isascii.rst
+.. include:: newlib-rest/libc/ctype/isblank.rst
+.. include:: newlib-rest/libc/ctype/iscntrl.rst
+.. include:: newlib-rest/libc/ctype/isdigit.rst
+.. include:: newlib-rest/libc/ctype/islower.rst
+.. include:: newlib-rest/libc/ctype/isprint.rst
+.. include:: newlib-rest/libc/ctype/ispunct.rst
+.. include:: newlib-rest/libc/ctype/isspace.rst
+.. include:: newlib-rest/libc/ctype/isupper.rst
+.. include:: newlib-rest/libc/ctype/iswalnum.rst
+.. include:: newlib-rest/libc/ctype/iswalpha.rst
+.. include:: newlib-rest/libc/ctype/iswblank.rst
+.. include:: newlib-rest/libc/ctype/iswcntrl.rst
+.. include:: newlib-rest/libc/ctype/iswctype.rst
+.. include:: newlib-rest/libc/ctype/iswdigit.rst
+.. include:: newlib-rest/libc/ctype/iswgraph.rst
+.. include:: newlib-rest/libc/ctype/iswlower.rst
+.. include:: newlib-rest/libc/ctype/iswprint.rst
+.. include:: newlib-rest/libc/ctype/iswpunct.rst
+.. include:: newlib-rest/libc/ctype/iswspace.rst
+.. include:: newlib-rest/libc/ctype/iswupper.rst
+.. include:: newlib-rest/libc/ctype/iswxdigit.rst
+.. include:: newlib-rest/libc/ctype/isxdigit.rst
+.. include:: newlib-rest/libc/ctype/toascii.rst
+.. include:: newlib-rest/libc/ctype/tolower.rst
+.. include:: newlib-rest/libc/ctype/toupper.rst
+.. include:: newlib-rest/libc/ctype/towctrans.rst
+.. include:: newlib-rest/libc/ctype/towlower.rst
+.. include:: newlib-rest/libc/ctype/towupper.rst
+.. include:: newlib-rest/libc/ctype/wctrans.rst
+.. include:: newlib-rest/libc/ctype/wctype.rst
+
+
+
+
+.. comment ******* stdio.h *******
+C Library Standard I/O
+**********************
+
+Introduction
+============
+
+TBD
+
+Background
+==========
+
+There is currently no text in this section.
+
+Operations
+==========
+
+There is currently no text in this section.
+
+Services
+========
+
+.. include:: newlib-rest/libc/stdio/clearerr.rst
+.. include:: newlib-rest/libc/stdio/diprintf.rst
+.. include:: newlib-rest/libc/stdio/dprintf.rst
+.. include:: newlib-rest/libc/stdio/fclose.rst
+.. include:: newlib-rest/libc/stdio/fcloseall.rst
+.. include:: newlib-rest/libc/stdio/fdopen.rst
+.. include:: newlib-rest/libc/stdio/feof.rst
+.. include:: newlib-rest/libc/stdio/ferror.rst
+.. include:: newlib-rest/libc/stdio/fflush.rst
+.. include:: newlib-rest/libc/stdio/fgetc.rst
+.. include:: newlib-rest/libc/stdio/fgetpos.rst
+.. include:: newlib-rest/libc/stdio/fgets.rst
+.. include:: newlib-rest/libc/stdio/fgetwc.rst
+.. include:: newlib-rest/libc/stdio/fgetws.rst
+.. include:: newlib-rest/libc/stdio/fileno.rst
+.. include:: newlib-rest/libc/stdio/fmemopen.rst
+.. include:: newlib-rest/libc/stdio/fopen.rst
+.. include:: newlib-rest/libc/stdio/fopencookie.rst
+.. include:: newlib-rest/libc/stdio/fpurge.rst
+.. include:: newlib-rest/libc/stdio/fputc.rst
+.. include:: newlib-rest/libc/stdio/fputs.rst
+.. include:: newlib-rest/libc/stdio/fputwc.rst
+.. include:: newlib-rest/libc/stdio/fputws.rst
+.. include:: newlib-rest/libc/stdio/fread.rst
+.. include:: newlib-rest/libc/stdio/freopen.rst
+.. include:: newlib-rest/libc/stdio/fseek.rst
+.. include:: newlib-rest/libc/stdio/fseeko.rst
+.. include:: newlib-rest/libc/stdio/fsetlocking.rst
+.. include:: newlib-rest/libc/stdio/fsetpos.rst
+.. include:: newlib-rest/libc/stdio/ftell.rst
+.. include:: newlib-rest/libc/stdio/ftello.rst
+.. include:: newlib-rest/libc/stdio/funopen.rst
+.. include:: newlib-rest/libc/stdio/fwide.rst
+.. include:: newlib-rest/libc/stdio/fwrite.rst
+.. include:: newlib-rest/libc/stdio/getc.rst
+.. include:: newlib-rest/libc/stdio/getc_u.rst
+.. include:: newlib-rest/libc/stdio/getchar.rst
+.. include:: newlib-rest/libc/stdio/getchar_u.rst
+.. include:: newlib-rest/libc/stdio/getdelim.rst
+.. include:: newlib-rest/libc/stdio/getline.rst
+.. include:: newlib-rest/libc/stdio/gets.rst
+.. include:: newlib-rest/libc/stdio/getw.rst
+.. include:: newlib-rest/libc/stdio/getwchar.rst
+.. include:: newlib-rest/libc/stdio/mktemp.rst
+.. include:: newlib-rest/libc/stdio/nano-vfprintf.rst
+.. include:: newlib-rest/libc/stdio/nano-vfscanf.rst
+.. include:: newlib-rest/libc/stdio/open_memstream.rst
+.. include:: newlib-rest/libc/stdio/perror.rst
+.. include:: newlib-rest/libc/stdio/putc.rst
+.. include:: newlib-rest/libc/stdio/putc_u.rst
+.. include:: newlib-rest/libc/stdio/putchar.rst
+.. include:: newlib-rest/libc/stdio/putchar_u.rst
+.. include:: newlib-rest/libc/stdio/puts.rst
+.. include:: newlib-rest/libc/stdio/putw.rst
+.. include:: newlib-rest/libc/stdio/putwchar.rst
+.. include:: newlib-rest/libc/stdio/remove.rst
+.. include:: newlib-rest/libc/stdio/rename.rst
+.. include:: newlib-rest/libc/stdio/rewind.rst
+.. include:: newlib-rest/libc/stdio/setbuf.rst
+.. include:: newlib-rest/libc/stdio/setbuffer.rst
+.. include:: newlib-rest/libc/stdio/setlinebuf.rst
+.. include:: newlib-rest/libc/stdio/setvbuf.rst
+.. include:: newlib-rest/libc/stdio/siprintf.rst
+.. include:: newlib-rest/libc/stdio/siscanf.rst
+.. include:: newlib-rest/libc/stdio/sprintf.rst
+.. include:: newlib-rest/libc/stdio/sscanf.rst
+.. include:: newlib-rest/libc/stdio/stdio_ext.rst
+.. include:: newlib-rest/libc/stdio/swprintf.rst
+.. include:: newlib-rest/libc/stdio/swscanf.rst
+.. include:: newlib-rest/libc/stdio/tmpfile.rst
+.. include:: newlib-rest/libc/stdio/tmpnam.rst
+.. include:: newlib-rest/libc/stdio/ungetc.rst
+.. include:: newlib-rest/libc/stdio/ungetwc.rst
+.. include:: newlib-rest/libc/stdio/vfprintf.rst
+.. include:: newlib-rest/libc/stdio/vfscanf.rst
+.. include:: newlib-rest/libc/stdio/vfwprintf.rst
+.. include:: newlib-rest/libc/stdio/vfwscanf.rst
+.. include:: newlib-rest/libc/stdio/viprintf.rst
+.. include:: newlib-rest/libc/stdio/viscanf.rst
+.. include:: newlib-rest/libc/stdio64/fdopen64.rst
+.. include:: newlib-rest/libc/stdio64/fgetpos64.rst
+.. include:: newlib-rest/libc/stdio64/fopen64.rst
+.. include:: newlib-rest/libc/stdio64/freopen64.rst
+.. include:: newlib-rest/libc/stdio64/fseeko64.rst
+.. include:: newlib-rest/libc/stdio64/fsetpos64.rst
+.. include:: newlib-rest/libc/stdio64/ftello64.rst
+.. include:: newlib-rest/libc/stdio64/tmpfile64.rst
+
+
+.. comment ******* stdlib.h *******
+C Library - stdlib.h
+********************
+
+Introduction
+============
+
+TBD
+
+Background
+==========
+
+There is currently no text in this section.
+
+Operations
+==========
+
+There is currently no text in this section.
+
+Services
+========
+
+.. include:: newlib-rest/libc/stdlib/_Exit.rst
+.. include:: newlib-rest/libc/stdlib/a64l.rst
+.. include:: newlib-rest/libc/stdlib/abort.rst
+.. include:: newlib-rest/libc/stdlib/abs.rst
+.. include:: newlib-rest/libc/stdlib/assert.rst
+.. include:: newlib-rest/libc/stdlib/atexit.rst
+.. include:: newlib-rest/libc/stdlib/atof.rst
+.. include:: newlib-rest/libc/stdlib/atoi.rst
+.. include:: newlib-rest/libc/stdlib/atoll.rst
+.. include:: newlib-rest/libc/stdlib/calloc.rst
+.. include:: newlib-rest/libc/stdlib/div.rst
+.. include:: newlib-rest/libc/stdlib/ecvtbuf.rst
+.. include:: newlib-rest/libc/stdlib/efgcvt.rst
+.. include:: newlib-rest/libc/stdlib/envlock.rst
+.. include:: newlib-rest/libc/stdlib/exit.rst
+.. include:: newlib-rest/libc/stdlib/getenv.rst
+.. include:: newlib-rest/libc/stdlib/getenv_r.rst
+.. include:: newlib-rest/libc/stdlib/itoa.rst
+.. include:: newlib-rest/libc/stdlib/labs.rst
+.. include:: newlib-rest/libc/stdlib/ldiv.rst
+.. include:: newlib-rest/libc/stdlib/llabs.rst
+.. include:: newlib-rest/libc/stdlib/lldiv.rst
+.. include:: newlib-rest/libc/stdlib/malloc.rst
+.. include:: newlib-rest/libc/stdlib/mblen.rst
+.. include:: newlib-rest/libc/stdlib/mblen_r.rst
+.. include:: newlib-rest/libc/stdlib/mbsnrtowcs.rst
+.. include:: newlib-rest/libc/stdlib/mbstowcs.rst
+.. include:: newlib-rest/libc/stdlib/mbtowc.rst
+.. include:: newlib-rest/libc/stdlib/mlock.rst
+.. include:: newlib-rest/libc/stdlib/mstats.rst
+.. include:: newlib-rest/libc/stdlib/on_exit.rst
+.. include:: newlib-rest/libc/stdlib/rand.rst
+.. include:: newlib-rest/libc/stdlib/rand48.rst
+.. include:: newlib-rest/libc/stdlib/random.rst
+.. include:: newlib-rest/libc/stdlib/rpmatch.rst
+.. include:: newlib-rest/libc/stdlib/strtod.rst
+.. include:: newlib-rest/libc/stdlib/strtol.rst
+.. include:: newlib-rest/libc/stdlib/strtoll.rst
+.. include:: newlib-rest/libc/stdlib/strtoul.rst
+.. include:: newlib-rest/libc/stdlib/strtoull.rst
+.. include:: newlib-rest/libc/stdlib/system.rst
+.. include:: newlib-rest/libc/stdlib/utoa.rst
+.. include:: newlib-rest/libc/stdlib/wcsnrtombs.rst
+.. include:: newlib-rest/libc/stdlib/wcstod.rst
+.. include:: newlib-rest/libc/stdlib/wcstol.rst
+.. include:: newlib-rest/libc/stdlib/wcstoll.rst
+.. include:: newlib-rest/libc/stdlib/wcstombs.rst
+.. include:: newlib-rest/libc/stdlib/wcstoul.rst
+.. include:: newlib-rest/libc/stdlib/wcstoull.rst
+.. include:: newlib-rest/libc/stdlib/wctomb.rst
+
+.. comment ******* string.h *******
+C Library String
+****************
+
+Introduction
+============
+
+TBD
+
+Background
+==========
+
+There is currently no text in this section.
+
+Operations
+==========
+
+There is currently no text in this section.
+
+Services
+========
+
+.. include:: newlib-rest/libc/string/bcmp.rst
+.. include:: newlib-rest/libc/string/bcopy.rst
+.. include:: newlib-rest/libc/string/bzero.rst
+.. include:: newlib-rest/libc/string/index.rst
+.. include:: newlib-rest/libc/string/memccpy.rst
+.. include:: newlib-rest/libc/string/memchr.rst
+.. include:: newlib-rest/libc/string/memcmp.rst
+.. include:: newlib-rest/libc/string/memcpy.rst
+.. include:: newlib-rest/libc/string/memmem.rst
+.. include:: newlib-rest/libc/string/memmove.rst
+.. include:: newlib-rest/libc/string/mempcpy.rst
+.. include:: newlib-rest/libc/string/memrchr.rst
+.. include:: newlib-rest/libc/string/memset.rst
+.. include:: newlib-rest/libc/string/rawmemchr.rst
+.. include:: newlib-rest/libc/string/rindex.rst
+.. include:: newlib-rest/libc/string/stpcpy.rst
+.. include:: newlib-rest/libc/string/stpncpy.rst
+.. include:: newlib-rest/libc/string/strcasecmp.rst
+.. include:: newlib-rest/libc/string/strcasecmp_l.rst
+.. include:: newlib-rest/libc/string/strcasestr.rst
+.. include:: newlib-rest/libc/string/strcat.rst
+.. include:: newlib-rest/libc/string/strchr.rst
+.. include:: newlib-rest/libc/string/strchrnul.rst
+.. include:: newlib-rest/libc/string/strcmp.rst
+.. include:: newlib-rest/libc/string/strcoll.rst
+.. include:: newlib-rest/libc/string/strcoll_l.rst
+.. include:: newlib-rest/libc/string/strcpy.rst
+.. include:: newlib-rest/libc/string/strcspn.rst
+.. include:: newlib-rest/libc/string/strerror.rst
+.. include:: newlib-rest/libc/string/strerror_r.rst
+.. include:: newlib-rest/libc/string/strlen.rst
+.. include:: newlib-rest/libc/string/strlwr.rst
+.. include:: newlib-rest/libc/string/strncasecmp.rst
+.. include:: newlib-rest/libc/string/strncasecmp_l.rst
+.. include:: newlib-rest/libc/string/strncat.rst
+.. include:: newlib-rest/libc/string/strncmp.rst
+.. include:: newlib-rest/libc/string/strncpy.rst
+.. include:: newlib-rest/libc/string/strnlen.rst
+.. include:: newlib-rest/libc/string/strnstr.rst
+.. include:: newlib-rest/libc/string/strpbrk.rst
+.. include:: newlib-rest/libc/string/strrchr.rst
+.. include:: newlib-rest/libc/string/strsignal.rst
+.. include:: newlib-rest/libc/string/strspn.rst
+.. include:: newlib-rest/libc/string/strstr.rst
+.. include:: newlib-rest/libc/string/strtok.rst
+.. include:: newlib-rest/libc/string/strupr.rst
+.. include:: newlib-rest/libc/string/strverscmp.rst
+.. include:: newlib-rest/libc/string/strxfrm.rst
+.. include:: newlib-rest/libc/string/strxfrm_l.rst
+.. include:: newlib-rest/libc/string/swab.rst
+.. include:: newlib-rest/libc/string/wcpcpy.rst
+.. include:: newlib-rest/libc/string/wcpncpy.rst
+.. include:: newlib-rest/libc/string/wcscasecmp.rst
+.. include:: newlib-rest/libc/string/wcscasecmp_l.rst
+.. include:: newlib-rest/libc/string/wcscat.rst
+.. include:: newlib-rest/libc/string/wcschr.rst
+.. include:: newlib-rest/libc/string/wcscmp.rst
+.. include:: newlib-rest/libc/string/wcscoll.rst
+.. include:: newlib-rest/libc/string/wcscoll_l.rst
+.. include:: newlib-rest/libc/string/wcscpy.rst
+.. include:: newlib-rest/libc/string/wcscspn.rst
+.. include:: newlib-rest/libc/string/wcsdup.rst
+.. include:: newlib-rest/libc/string/wcslcat.rst
+.. include:: newlib-rest/libc/string/wcslcpy.rst
+.. include:: newlib-rest/libc/string/wcslen.rst
+.. include:: newlib-rest/libc/string/wcsncasecmp.rst
+.. include:: newlib-rest/libc/string/wcsncasecmp_l.rst
+.. include:: newlib-rest/libc/string/wcsncat.rst
+.. include:: newlib-rest/libc/string/wcsncmp.rst
+.. include:: newlib-rest/libc/string/wcsncpy.rst
+.. include:: newlib-rest/libc/string/wcsnlen.rst
+.. include:: newlib-rest/libc/string/wcspbrk.rst
+.. include:: newlib-rest/libc/string/wcsrchr.rst
+.. include:: newlib-rest/libc/string/wcsspn.rst
+.. include:: newlib-rest/libc/string/wcsstr.rst
+.. include:: newlib-rest/libc/string/wcstok.rst
+.. include:: newlib-rest/libc/string/wcswidth.rst
+.. include:: newlib-rest/libc/string/wcsxfrm.rst
+.. include:: newlib-rest/libc/string/wcsxfrm_l.rst
+.. include:: newlib-rest/libc/string/wcwidth.rst
+.. include:: newlib-rest/libc/string/wmemchr.rst
+.. include:: newlib-rest/libc/string/wmemcmp.rst
+.. include:: newlib-rest/libc/string/wmemcpy.rst
+.. include:: newlib-rest/libc/string/wmemmove.rst
+.. include:: newlib-rest/libc/string/wmempcpy.rst
+.. include:: newlib-rest/libc/string/wmemset.rst
+
+.. comment ******* time.h *******
+C Library Time
+**************
+
+Introduction
+============
+
+TBD
+
+Background
+==========
+
+There is currently no text in this section.
+
+Operations
+==========
+
+There is currently no text in this section.
+
+Services
+========
+
+.. include:: newlib-rest/libc/time/asctime.rst
+.. include:: newlib-rest/libc/time/clock.rst
+.. include:: newlib-rest/libc/time/ctime.rst
+.. include:: newlib-rest/libc/time/difftime.rst
+.. include:: newlib-rest/libc/time/gmtime.rst
+.. include:: newlib-rest/libc/time/lcltime.rst
+.. include:: newlib-rest/libc/time/mktime.rst
+.. include:: newlib-rest/libc/time/strftime.rst
+.. include:: newlib-rest/libc/time/time.rst
+.. include:: newlib-rest/libc/time/tzlock.rst
+.. include:: newlib-rest/libc/time/tzset.rst
+.. include:: newlib-rest/libc/time/wcsftime.rst
+
+.. comment ******* math.h *******
+Standard C Math Library
+***********************
+
+Introduction
+============
+
+TBD
+
+Background
+==========
+
+There is currently no text in this section.
+
+Operations
+==========
+
+There is currently no text in this section.
+
+Services
+========
+
+
+.. include:: newlib-rest/libm/common/isgreater.rst
+.. include:: newlib-rest/libm/common/s_cbrt.rst
+.. include:: newlib-rest/libm/common/s_copysign.rst
+.. include:: newlib-rest/libm/common/s_exp10.rst
+.. include:: newlib-rest/libm/common/s_expm1.rst
+.. include:: newlib-rest/libm/common/s_fdim.rst
+.. include:: newlib-rest/libm/common/s_fma.rst
+.. include:: newlib-rest/libm/common/s_fmax.rst
+.. include:: newlib-rest/libm/common/s_fmin.rst
+.. include:: newlib-rest/libm/common/s_ilogb.rst
+.. include:: newlib-rest/libm/common/s_infinity.rst
+.. include:: newlib-rest/libm/common/s_isnan.rst
+.. include:: newlib-rest/libm/common/s_isnand.rst
+.. include:: newlib-rest/libm/common/s_log1p.rst
+.. include:: newlib-rest/libm/common/s_log2.rst
+.. include:: newlib-rest/libm/common/s_logb.rst
+.. include:: newlib-rest/libm/common/s_lrint.rst
+.. include:: newlib-rest/libm/common/s_lround.rst
+.. include:: newlib-rest/libm/common/s_matherr.rst
+.. include:: newlib-rest/libm/common/s_modf.rst
+.. include:: newlib-rest/libm/common/s_nan.rst
+.. include:: newlib-rest/libm/common/s_nearbyint.rst
+.. include:: newlib-rest/libm/common/s_nextafter.rst
+.. include:: newlib-rest/libm/common/s_pow10.rst
+.. include:: newlib-rest/libm/common/s_remquo.rst
+.. include:: newlib-rest/libm/common/s_rint.rst
+.. include:: newlib-rest/libm/common/s_round.rst
+.. include:: newlib-rest/libm/common/s_scalbn.rst
+.. include:: newlib-rest/libm/common/s_signbit.rst
+.. include:: newlib-rest/libm/common/s_trunc.rst
+
+
+.. comment ******* complex.h *******
+C Library Complex Math
+**********************
+
+Introduction
+============
+
+TBD
+
+Background
+==========
+
+There is currently no text in this section.
+
+Operations
+==========
+
+There is currently no text in this section.
+
+Services
+========
+
+.. include:: newlib-rest/libm/complex/cabs.rst
+.. include:: newlib-rest/libm/complex/cacos.rst
+.. include:: newlib-rest/libm/complex/cacosh.rst
+.. include:: newlib-rest/libm/complex/carg.rst
+.. include:: newlib-rest/libm/complex/casin.rst
+.. include:: newlib-rest/libm/complex/casinh.rst
+.. include:: newlib-rest/libm/complex/catan.rst
+.. include:: newlib-rest/libm/complex/catanh.rst
+.. include:: newlib-rest/libm/complex/ccos.rst
+.. include:: newlib-rest/libm/complex/ccosh.rst
+.. include:: newlib-rest/libm/complex/cexp.rst
+.. include:: newlib-rest/libm/complex/cimag.rst
+.. include:: newlib-rest/libm/complex/clog.rst
+.. include:: newlib-rest/libm/complex/clog10.rst
+.. include:: newlib-rest/libm/complex/conj.rst
+.. include:: newlib-rest/libm/complex/cpow.rst
+.. include:: newlib-rest/libm/complex/cproj.rst
+.. include:: newlib-rest/libm/complex/creal.rst
+.. include:: newlib-rest/libm/complex/csin.rst
+.. include:: newlib-rest/libm/complex/csinh.rst
+.. include:: newlib-rest/libm/complex/csqrt.rst
+.. include:: newlib-rest/libm/complex/ctan.rst
+.. include:: newlib-rest/libm/complex/ctanh.rst
+.. include:: newlib-rest/libm/math/s_asinh.rst
+.. include:: newlib-rest/libm/math/s_atan.rst
+.. include:: newlib-rest/libm/math/s_erf.rst
+.. include:: newlib-rest/libm/math/s_fabs.rst
+.. include:: newlib-rest/libm/math/s_floor.rst
+.. include:: newlib-rest/libm/math/s_frexp.rst
+.. include:: newlib-rest/libm/math/s_ldexp.rst
+.. include:: newlib-rest/libm/math/s_sin.rst
+.. include:: newlib-rest/libm/math/s_tan.rst
+.. include:: newlib-rest/libm/math/s_tanh.rst
+.. include:: newlib-rest/libm/math/w_acos.rst
+.. include:: newlib-rest/libm/math/w_acosh.rst
+.. include:: newlib-rest/libm/math/w_asin.rst
+.. include:: newlib-rest/libm/math/w_atan2.rst
+.. include:: newlib-rest/libm/math/w_atanh.rst
+.. include:: newlib-rest/libm/math/w_cosh.rst
+.. include:: newlib-rest/libm/math/w_exp.rst
+.. include:: newlib-rest/libm/math/w_exp2.rst
+.. include:: newlib-rest/libm/math/w_fmod.rst
+.. include:: newlib-rest/libm/math/w_gamma.rst
+.. include:: newlib-rest/libm/math/w_hypot.rst
+.. include:: newlib-rest/libm/math/w_j0.rst
+.. include:: newlib-rest/libm/math/w_log.rst
+.. include:: newlib-rest/libm/math/w_log10.rst
+.. include:: newlib-rest/libm/math/w_pow.rst
+.. include:: newlib-rest/libm/math/w_remainder.rst
+.. include:: newlib-rest/libm/math/w_sinh.rst
+.. include:: newlib-rest/libm/math/w_sqrt.rst
+.. include:: newlib-rest/libm/mathfp/e_acosh.rst
+.. include:: newlib-rest/libm/mathfp/e_atanh.rst
+.. include:: newlib-rest/libm/mathfp/e_hypot.rst
+.. include:: newlib-rest/libm/mathfp/e_remainder.rst
+.. include:: newlib-rest/libm/mathfp/er_lgamma.rst
+.. include:: newlib-rest/libm/mathfp/s_acos.rst
+.. include:: newlib-rest/libm/mathfp/s_asine.rst
+.. include:: newlib-rest/libm/mathfp/s_asinh.rst
+.. include:: newlib-rest/libm/mathfp/s_atan.rst
+.. include:: newlib-rest/libm/mathfp/s_atan2.rst
+.. include:: newlib-rest/libm/mathfp/s_atangent.rst
+.. include:: newlib-rest/libm/mathfp/s_cosh.rst
+.. include:: newlib-rest/libm/mathfp/s_erf.rst
+.. include:: newlib-rest/libm/mathfp/s_exp.rst
+.. include:: newlib-rest/libm/mathfp/s_fabs.rst
+.. include:: newlib-rest/libm/mathfp/s_floor.rst
+.. include:: newlib-rest/libm/mathfp/s_fmod.rst
+.. include:: newlib-rest/libm/mathfp/s_frexp.rst
+.. include:: newlib-rest/libm/mathfp/s_ldexp.rst
+.. include:: newlib-rest/libm/mathfp/s_log10.rst
+.. include:: newlib-rest/libm/mathfp/s_logarithm.rst
+.. include:: newlib-rest/libm/mathfp/s_pow.rst
+.. include:: newlib-rest/libm/mathfp/s_sine.rst
+.. include:: newlib-rest/libm/mathfp/s_sineh.rst
+.. include:: newlib-rest/libm/mathfp/s_sqrt.rst
+.. include:: newlib-rest/libm/mathfp/s_tan.rst
+.. include:: newlib-rest/libm/mathfp/s_tanh.rst
+.. include:: newlib-rest/libm/mathfp/w_jn.rst
+
+.. comment ******* TBD *******
+C Library Uncategorized
+***********************
+
+Introduction
+============
+
+TBD
+
+Background
+==========
+
+There is currently no text in this section.
+
+Operations
+==========
+
+There is currently no text in this section.
+
+Services
+========
+
+.. include:: newlib-rest/libc/iconv/lib/iconv.rst
+.. include:: newlib-rest/libc/locale/duplocale.rst
+.. include:: newlib-rest/libc/locale/freelocale.rst
+.. include:: newlib-rest/libc/locale/locale.rst
+.. include:: newlib-rest/libc/locale/newlocale.rst
+.. include:: newlib-rest/libc/locale/uselocale.rst
+.. include:: newlib-rest/libc/misc/ffs.rst
+.. include:: newlib-rest/libc/misc/lock.rst
+.. include:: newlib-rest/libc/misc/unctrl.rst
+.. include:: newlib-rest/libc/posix/popen.rst
+.. include:: newlib-rest/libc/posix/posix_spawn.rst
+.. include:: newlib-rest/libc/reent/closer.rst
+.. include:: newlib-rest/libc/reent/execr.rst
+.. include:: newlib-rest/libc/reent/fcntlr.rst
+.. include:: newlib-rest/libc/reent/fstat64r.rst
+.. include:: newlib-rest/libc/reent/fstatr.rst
+.. include:: newlib-rest/libc/reent/gettimeofdayr.rst
+.. include:: newlib-rest/libc/reent/isattyr.rst
+.. include:: newlib-rest/libc/reent/linkr.rst
+.. include:: newlib-rest/libc/reent/lseek64r.rst
+.. include:: newlib-rest/libc/reent/lseekr.rst
+.. include:: newlib-rest/libc/reent/mkdirr.rst
+.. include:: newlib-rest/libc/reent/open64r.rst
+.. include:: newlib-rest/libc/reent/openr.rst
+.. include:: newlib-rest/libc/reent/readr.rst
+.. include:: newlib-rest/libc/reent/reent.rst
+.. include:: newlib-rest/libc/reent/renamer.rst
+.. include:: newlib-rest/libc/reent/sbrkr.rst
+.. include:: newlib-rest/libc/reent/signalr.rst
+.. include:: newlib-rest/libc/reent/stat64r.rst
+.. include:: newlib-rest/libc/reent/statr.rst
+.. include:: newlib-rest/libc/reent/timesr.rst
+.. include:: newlib-rest/libc/reent/unlinkr.rst
+.. include:: newlib-rest/libc/reent/writer.rst
+.. include:: newlib-rest/libc/search/bsearch.rst
+.. include:: newlib-rest/libc/search/qsort.rst
+.. include:: newlib-rest/libc/search/qsort_r.rst
+.. include:: newlib-rest/libc/signal/psignal.rst
+.. include:: newlib-rest/libc/signal/raise.rst
+.. include:: newlib-rest/libc/signal/signal.rst
+.. include:: newlib-rest/libc/unix/pread.rst
+.. include:: newlib-rest/libc/unix/pwrite.rst
+
+ genindex
diff --git a/newlib-tester/isalnum_goal.rst b/newlib-tester/isalnum_goal.rst
new file mode 100644
index 0000000..5b7e035
--- /dev/null
+++ b/newlib-tester/isalnum_goal.rst
@@ -0,0 +1,52 @@
+.. COMMENT: This file was automatically generated from the file:
+.. COMMENT: @NEWLIB_FILENAME@
+.. COMMENT: Generateed on: @DATE@
+
+.. isalnum:
+
+isalnum - Alphanumeric character predicate (GOAL)
+----------------------------------------------------------------
+.. index:: isalnum
+.. index:: alphanumeric character predicate
+.. index:: isalnum_l
+
+
+
+**CALLING SEQUENCE:**
+
+.. code-block:: c
+
+ #include <ctype.h>
+ int isalnum(int c);
+
+ #include <ctype.h>
+ int isalnum_l(int c, locale_t locale);
+
+
+
+
+**STATUS CODES:**
+
+*isalnum*,*isalnum_l* return non-zero if ``c`` is a letter or a digit.
+
+
+
+**DESCRIPTION:**
+
+*isalnum* is a macro which classifies singlebyte charset values by table
+lookup. It is a predicate returning non-zero for alphabetic or
+numeric ASCII characters, and *0* for other arguments. It is defined
+only if ``c`` is representable as an unsigned char or if ``c`` is EOF.
+
+*isalnum_l* is like *isalnum* but performs the check based on the
+locale specified by the locale object locale. If ``locale`` is
+LC_GLOBAL_LOCALE or not a valid locale object, the behaviour is undefined.
+
+You can use a compiled subroutine instead of the macro definition by
+undefining the macro using ``#undef isalnum`` or ``#undef isalnum_l``.
+
+
+**ORIGIN**
+
+The information in this section was generated from documentation
+included with the `Newlib C Library <https://sourceware.org/newlib/>`_.
diff --git a/newlib-tester/wscript b/newlib-tester/wscript
new file mode 100644
index 0000000..26ab0ca
--- /dev/null
+++ b/newlib-tester/wscript
@@ -0,0 +1,11 @@
+from sys import path
+from os.path import abspath
+path.append(abspath('../common/'))
+
+from waf import cmd_configure as configure
+from waf import cmd_build as build
+from waf import cmd_options as options
+from waf import spell
+from waf import cmd_spell
+from waf import linkcheck
+from waf import cmd_linkcheck
diff --git a/wscript b/wscript
index 8fd22ac..4bf13eb 100644
--- a/wscript
+++ b/wscript
@@ -22,6 +22,7 @@ build_all = ['user',
'shell',
'cpu-supplement',
'develenv',
+ 'newlib-tester',
'eclipse']
building = build_all