Changeset 25517 in vbox for trunk/src/VBox/Runtime/r3
- Timestamp:
- Dec 20, 2009 3:19:53 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56190
- Location:
- trunk/src/VBox/Runtime/r3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/test.cpp
r20605 r25517 1050 1050 1051 1051 /** 1052 * Get the current error count. 1053 * 1054 * @returns The error counter, UINT32_MAX if no valid test handle. 1055 * @param hTest The test handle. If NIL_RTTEST we'll use the one 1056 * associated with the calling thread. 1057 */ 1058 RTR3DECL(uint32_t) RTTestErrorCount(RTTEST hTest) 1059 { 1060 PRTTESTINT pTest = hTest; 1061 RTTEST_GET_VALID_RETURN_RC(pTest, UINT32_MAX); 1062 1063 return ASMAtomicReadU32(&pTest->cErrors); 1064 } 1065 1066 1067 /** 1052 1068 * Increments the error counter and prints a failure message. 1053 1069 * -
trunk/src/VBox/Runtime/r3/testi.cpp
r19944 r25517 103 103 104 104 105 RTR3DECL(uint32_t) RTTestIErrorCount(void) 106 { 107 return RTTestErrorCount(NIL_RTTEST); 108 } 109 110 105 111 RTR3DECL(int) RTTestIFailedV(const char *pszFormat, va_list va) 106 112 {
Note:
See TracChangeset
for help on using the changeset viewer.