Ignore:
Timestamp:
Jul 1, 2005, 6:20:01 AM (20 years ago)
Author:
bird
Message:

libc adjustments / config.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libctests/glibc/posix/runptests.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2134 r2135  
    4343  size_t cnt;
    4444  int errors = 0;
     45  int errors_expected = argc > 1 ? atoi(argv[argc - 1]) : 0;
    4546
    4647  for (cnt = 0; cnt < sizeof (tests) / sizeof (tests[0]); ++cnt)
     
    118119      }
    119120
    120   printf ("\n%Zu tests, %d errors\n", cnt, errors);
     121  printf ("\n%Zu tests, %d errors, expected %d\n", cnt, errors, errors_expected);
    121122
    122   return errors != 0;
     123  return errors != errors_expected;
    123124}
Note: See TracChangeset for help on using the changeset viewer.