Changeset 1c64f503 in rtems


Ignore:
Timestamp:
Feb 2, 2011, 2:00:38 PM (8 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
e9c71fc
Parents:
e12d49d
Message:

Reflect having split-out mathl and mathf.

Location:
testsuites/libtests/math
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/math/Makefile.am

    re12d49d r1c64f503  
    44
    55rtems_tests_PROGRAMS = math
    6 math_SOURCES = init.c domath.c domathf.c domathl.c
    7 EXTRA_DIST = domath.in
     6math_SOURCES = init.c domath.c
     7EXTRA_DIST = $(srcdir)/../math/domath.in
    88
    9 # FIXME: Skip long double, not yet supported in newlib
    10 math_CPPFLAGS = $(AM_CPPFLAGS) -DNO_LONG_DOUBLE
    11 
    12 domath.c: $(srcdir)/domath.in
     9$(srcdir)/domath.c: $(srcdir)/../math/domath.in
    1310        sed -e 's,[@]FTYPE[@],double,' \
    1411        -e 's,[@]FSUFFIX[@], ,g' \
    1512        -e 's,[@]FGUARD[@],NO_DOUBLE,' \
    16         $(srcdir)/domath.in > $(srcdir)/domath.c
    17 
    18 domathf.c: $(srcdir)/domath.in
    19         sed -e 's,[@]FTYPE[@],float,' \
    20         -e 's,[@]FSUFFIX[@],f,g' \
    21         -e 's,[@]FGUARD[@],NO_FLOAT,' \
    22         $(srcdir)/domath.in > $(srcdir)/domathf.c
    23 
    24 domathl.c: $(srcdir)/domath.in
    25         sed -e 's,[@]FTYPE[@],long double,' \
    26         -e 's,[@]FSUFFIX[@],l,g' \
    27         -e 's,%f,%Lf,g' \
    28         -e 's,[@]FGUARD[@],NO_LONG_DOUBLE,' \
    29         $(srcdir)/domath.in > $(srcdir)/domathl.c
     13        $(srcdir)/../math/domath.in > $(srcdir)/domath.c
    3014
    3115dist_rtems_tests_DATA = math.scn
  • testsuites/libtests/math/init.c

    re12d49d r1c64f503  
    2929
    3030extern void domath(void);
    31 extern void domathf(void);
    32 extern void domathl(void);
    3331
    3432#if __rtems__
     
    4038#endif
    4139{
    42   fprintf( stdout, "*** FLOAT MATH TEST ***\n" );
     40  fprintf( stdout, "*** DOUBLE MATH TEST ***\n" );
    4341
    4442  domath();
    45   domathf(); 
    46   domathl();
    4743
    48   fprintf( stdout, "*** END OF FLOAT MATH TEST ***\n" );
     44  fprintf( stdout, "*** END OF DOUBLE MATH TEST ***\n" );
    4945  exit( 0 );
    5046}
Note: See TracChangeset for help on using the changeset viewer.