Changeset 61789 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jun 21, 2016 1:03:28 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/tstVMMR0CallHost-1.cpp
r57358 r61789 75 75 #endif 76 76 77 /* Do long jmps every 7th time*/78 if ((i % 7) == 0)77 /* Twice in a row, every 7th time. */ 78 if ((i % 7) <= 1) 79 79 { 80 80 g_cJmps++; … … 93 93 RTTESTI_CHECK_MSG_RET(i >= 0 && i <= 8192, ("i=%d is out of range [0..8192]\n", i), 1); 94 94 RTTESTI_CHECK_MSG_RET(i2 == 0, ("i2=%d is out of range [0]\n", i2), 1); 95 int iExpect = (i % 7) == 0? i + 10000 : i;95 int iExpect = (i % 7) <= 1 ? i + 10000 : i; 96 96 int rc = foo(i, 0, -1); 97 97 RTTESTI_CHECK_MSG_RET(rc == iExpect, ("i=%d rc=%d expected=%d\n", i, rc, iExpect), 1);
Note:
See TracChangeset
for help on using the changeset viewer.