Changeset e073081


Ignore:
Timestamp:
Jul 9, 2011, 3:56:20 PM (13 years ago)
Author:
David Benjamin <davidben@mit.edu>
Children:
37ac344
Parents:
5aab6559
git-author:
David Benjamin <davidben@mit.edu> (06/25/11 14:05:30)
git-committer:
David Benjamin <davidben@mit.edu> (07/09/11 15:56:20)
Message:
Number test output

May as well appease TAP here when we can.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester.c

    r5aab6559 re073081  
    129129#define FAIL_UNLESS(desc,pred) do { int __pred = (pred);                \
    130130    numtests++;                                                         \
    131     printf("%s %s", (__pred)?"ok":(numfailed++,"not ok"), desc);        \
     131    printf("%s %d %s", (__pred) ? "ok" : (numfailed++, "not ok"), numtests, desc); \
    132132    if(!(__pred)) printf("\t(%s:%d)", __FILE__, __LINE__); printf("%c", '\n'); } while(0)
    133133
Note: See TracChangeset for help on using the changeset viewer.