- Timestamp:
- Jul 7, 2007, 5:42:45 PM (17 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 535d68b
- Parents:
- 9a6cc40
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test.h
r0138478 r1cf3f8d3 3 3 4 4 #define FAIL_UNLESS(desc,pred) do { int __pred = (pred); \ 5 printf(" \t%-4s: %s", (__pred)?"ok":(numfailed++,"FAIL"), desc); \5 printf("%s %s", (__pred)?"ok":(numfailed++,"not ok"), desc); \ 6 6 if(!(__pred)) printf("\t(%s:%d)", __FILE__, __LINE__); printf("%c", '\n'); } while(0) 7 7
Note: See TracChangeset
for help on using the changeset viewer.