Changeset 60096 in vbox
- Timestamp:
- Mar 18, 2016 1:13:44 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VMMDevTesting.h
r59862 r60096 90 90 * "value-name:register-name". */ 91 91 #define VMMDEV_TESTING_CMD_VALUE_REG UINT32_C(0xcab1e007) 92 /** Print string, sending a string including newline. (RTTestPrintf) */ 93 #define VMMDEV_TESTING_CMD_PRINT UINT32_C(0xcab1e008) 92 94 /** @} */ 93 95 -
trunk/src/VBox/Devices/VMMDev/VMMDevTesting.cpp
r57358 r60096 265 265 case VMMDEV_TESTING_CMD_FAILED: 266 266 case VMMDEV_TESTING_CMD_SKIPPED: 267 case VMMDEV_TESTING_CMD_PRINT: 267 268 if ( off < sizeof(pThis->TestingData.String.sz) - 1 268 269 && cb == 1) … … 307 308 VMMDEV_TESTING_OUTPUT(("testing: SKIPPED '%s'\n", pThis->TestingData.String.sz)); 308 309 break; 310 case VMMDEV_TESTING_CMD_PRINT: 311 if (pThis->hTestingTest != NIL_RTTEST && off) 312 RTTestPrintf(pThis->hTestingTest, RTTESTLVL_ALWAYS, "%s", pThis->TestingData.String.sz); 313 VMMDEV_TESTING_OUTPUT(("testing: '%s'\n", pThis->TestingData.String.sz)); 314 break; 309 315 } 310 316 #else … … 405 411 406 412 /* 407 * RTTestValue with the returnfrom DBGFR3RegNmQuery.413 * RTTestValue with the output from DBGFR3RegNmQuery. 408 414 */ 409 415 case VMMDEV_TESTING_CMD_VALUE_REG: … … 424 430 } 425 431 break; 426 427 432 } 428 433
Note:
See TracChangeset
for help on using the changeset viewer.