Changeset 2158 for trunk


Ignore:
Timestamp:
Jul 3, 2005, 12:54:54 AM (20 years ago)
Author:
bird
Message:

math, malloc suchlike.

Location:
trunk/src/libctests/glibc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libctests/glibc/Makefile

    • Property cvs2svn:cvs-rev changed from 1.12 to 1.13
    r2157 r2158  
    5252ifeq ($(TARGET),innoteklibc)
    5353SKIPPED    := \
     54        malloc/tst-mallocstate.c \
     55        \
     56        math/test-matherr.c \
     57        math/bug-tgmath1.c \
     58        math/test-tgmath.c \
     59        math/test-tgmath-ret.c \
    5460        \
    5561        misc/tst-efgcvt.c \
     
    99105        stdio-common/tst-obprintf.c \
    100106        stdio-common/tst-perror.c \
    101         stdio-common/tst-popen.c \
     107        stdio-common/tst-pop8en.c \
    102108        stdio-common/tst-printfsz.c \
    103109        stdio-common/tst-swprintf.c \
     
    146152        posix/tst-fnmatch.c     \
    147153        posix/tst-pcre.c \
    148         misc/tst-tsearch.c
     154        misc/tst-tsearch.c  \
     155        misc/tst-dirname.c
    149156       
    150157# NOTES:       
     
    159166       
    160167CFLAGS     += -Zomf -g -I sysdeps/os2 \
     168        -Dprogram_invocation_short_name=getprogname\(\) \
    161169        -DHAVE_STRNLEN \
    162170        -DHAVE_MEMPCPY \
     
    170178
    171179posix/runptests.c_ARGS = 15             # expect 15 errors
     180math/test-float.c_ARGS = -e 273         # expect 273 errors
     181math/test-ifloat.c_ARGS = -e 217        # expect 217 errors
     182math/test-double.c_ARGS = -e 174        # expect 174 errors
     183math/test-idouble.c_ARGS = -e 142       # expect 142 errors
     184math/test-ldouble.c_ARGS = -e 212       # expect 212 errors
     185math/test-ildoubl.c_ARGS = -e 153       # expect 153 errors
    172186endif
    173187
     
    373387        math/bug-nexttoward.c \
    374388        math/bug-tgmath1.c \
    375         math/test-double.c \
    376389        math/test-fenv.c \
    377390        math/test-float.c \
    378391        math/test-fpucw.c \
    379         math/test-idouble.c \
    380         math/test-ifloat.c \
    381         math/test-ildoubl.c \
    382         math/test-ldouble.c \
    383392        math/test-matherr.c \
    384393        math/test-misc.c \
    385394        math/test-tgmath-ret.c \
    386395        math/test-tgmath.c \
    387         math/tst-definitions.c
     396        math/tst-definitions.c \
     397        math/test-idouble.c \
     398        math/test-ifloat.c \
     399        math/test-double.c \
     400        math/test-ldouble.c \
     401        math/test-ildoubl.c
    388402#        math/atest-exp2.c
    389403#        math/atest-sincos.c
    390404#         math/atest-exp.c
    391 #         math/gen-libm-test.pl
     405
    392406$(foreach t,$(MATH),$(eval $(t)_LDFLAGS := -lm))
    393407$(foreach t,$(filter math/test-%,$(MATH)), \
  • trunk/src/libctests/glibc/math/libm-test.inc

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2157 r2158  
    168168static int output_points;       /* Should the single function results printed?  */
    169169static int ignore_max_ulp;      /* Should we ignore max_ulp?  */
     170static int expect_errors;   /* Number of errors we should expect / allow. */
    170171
    171172static FLOAT minus_zero, plus_zero;
     
    44874488  { "ignore-max-ulp", 'i', "yes/no", 0,
    44884489    "Ignore given maximal errors"},
     4490  { "expect", 'e', "NUMBER", 0, "Number of errors to expect"},
    44894491  { NULL, 0, NULL, 0, NULL }
    44904492};
     
    45294531      else
    45304532        verbose = 3;
     4533      break;
     4534    case 'e':
     4535      if (optarg)
     4536        expect_errors = (unsigned int) strtoul (optarg, NULL, 0);
     4537      else
     4538        expect_errors = 9999999;
    45314539      break;
    45324540    default:
     
    47414749    {
    47424750      printf ("  %d errors occurred.\n", noErrors);
    4743       return 1;
     4751      return noErrors > expect_errors;
    47444752    }
    47454753  printf ("  All tests passed successfully.\n");
Note: See TracChangeset for help on using the changeset viewer.