Changeset 66117 in vbox for trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Timestamp:
- Mar 15, 2017 6:24:06 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 114007
- Location:
- trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-TestFailed.c
r64367 r66117 96 96 */ 97 97 #undef Bs3TestFailedV 98 BS3_CMN_DEF( void, Bs3TestFailedV,(const char *pszFormat, va_list va))98 BS3_CMN_DEF(bool, Bs3TestFailedV,(const char *pszFormat, va_list va)) 99 99 { 100 100 BS3TESTFAILEDBUF Buf; … … 113 113 Buf.cchBuf = 0; 114 114 Bs3StrFormatV(pszFormat, va, bs3TestFailedStrOutput, &Buf); 115 return false; 115 116 } 116 117 … … 120 121 */ 121 122 #undef Bs3TestFailedF 122 BS3_CMN_DEF( void, Bs3TestFailedF,(const char *pszFormat, ...))123 BS3_CMN_DEF(bool, Bs3TestFailedF,(const char *pszFormat, ...)) 123 124 { 124 125 va_list va; … … 126 127 BS3_CMN_NM(Bs3TestFailedV)(pszFormat, va); 127 128 va_end(va); 129 return false; 128 130 } 129 131 … … 133 135 */ 134 136 #undef Bs3TestFailed 135 BS3_CMN_DEF( void, Bs3TestFailed,(const char *pszMessage))137 BS3_CMN_DEF(bool, Bs3TestFailed,(const char *pszMessage)) 136 138 { 137 BS3_CMN_NM(Bs3TestFailedF)("%s", pszMessage);139 return BS3_CMN_NM(Bs3TestFailedF)("%s", pszMessage); 138 140 } 139 141 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.h
r66112 r66117 2987 2987 /** 2988 2988 * Equivalent to RTTestIFailed. 2989 */ 2990 BS3_CMN_PROTO_STUB(void, Bs3TestFailed,(const char BS3_FAR *pszMessage)); 2989 * @returns false. 2990 */ 2991 BS3_CMN_PROTO_STUB(bool, Bs3TestFailed,(const char BS3_FAR *pszMessage)); 2991 2992 2992 2993 /** 2993 2994 * Equivalent to RTTestIFailedF. 2994 */ 2995 BS3_CMN_PROTO_STUB(void, Bs3TestFailedF,(const char BS3_FAR *pszFormat, ...)); 2995 * @returns false. 2996 */ 2997 BS3_CMN_PROTO_STUB(bool, Bs3TestFailedF,(const char BS3_FAR *pszFormat, ...)); 2996 2998 2997 2999 /** 2998 3000 * Equivalent to RTTestIFailedV. 2999 */ 3000 BS3_CMN_PROTO_STUB(void, Bs3TestFailedV,(const char BS3_FAR *pszFormat, va_list va)); 3001 * @returns false. 3002 */ 3003 BS3_CMN_PROTO_STUB(bool, Bs3TestFailedV,(const char BS3_FAR *pszFormat, va_list va)); 3001 3004 3002 3005 /**
Note:
See TracChangeset
for help on using the changeset viewer.