Changeset 989 for vendor/current/lib/torture
- Timestamp:
- Nov 25, 2016, 8:04:54 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/lib/torture/torture.h
r988 r989 480 480 } while(0) 481 481 482 #define torture_assert_u64_not_equal_goto(torture_ctx,got,not_expected,ret,label,cmt)\ 483 do { uint64_t __got = (got), __not_expected = (not_expected); \ 484 if (__got == __not_expected) { \ 485 torture_result(torture_ctx, TORTURE_FAIL, \ 486 __location__": "#got" was %llu (0x%llX), expected a different number: %s", \ 487 (unsigned long long)__got, (unsigned long long)__got, \ 488 cmt); \ 489 ret = false; \ 490 goto label; \ 491 } \ 492 } while(0) 493 482 494 #define torture_assert_errno_equal(torture_ctx,expected,cmt)\ 483 495 do { int __expected = (expected); \
Note:
See TracChangeset
for help on using the changeset viewer.