Changeset 41416 in vbox
- Timestamp:
- May 23, 2012 1:04:53 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VMMDevTesting.h
r38309 r41416 5 5 6 6 /* 7 * Copyright (C) 2010 Oracle Corporation7 * Copyright (C) 2010-2012 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 77 77 * finally the name (zero terminated string). (RTTestValue) */ 78 78 #define VMMDEV_TESTING_CMD_VALUE UINT32_C(0xcab1e005) 79 /** Report a failure, sending reason (zero terminated string). (RTTestSkipped) */ 80 #define VMMDEV_TESTING_CMD_SKIPPED UINT32_C(0xcab1e006) 79 81 /** @} */ 80 82 -
trunk/include/VBox/VMMDevTesting.mac
r38309 r41416 20 20 %define VMMDEV_TESTING_CMD_FAILED 0xcab1e004 21 21 %define VMMDEV_TESTING_CMD_VALUE 0xcab1e005 22 %define VMMDEV_TESTING_CMD_SKIPPED 0xcab1e006 22 23 %define VMMDEV_TESTING_UNIT_PCT 0x01 23 24 %define VMMDEV_TESTING_UNIT_BYTES 0x02 -
trunk/src/VBox/Devices/VMMDev/VMMDevTesting.cpp
r41413 r41416 5 5 6 6 /* 7 * Copyright (C) 2010 Oracle Corporation7 * Copyright (C) 2010-2012 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 159 159 case VMMDEV_TESTING_CMD_SUB_NEW: 160 160 case VMMDEV_TESTING_CMD_FAILED: 161 case VMMDEV_TESTING_CMD_SKIPPED: 161 162 if ( off < sizeof(pThis->TestingData.String.sz) - 1 162 163 && cb == 1) … … 182 183 case VMMDEV_TESTING_CMD_FAILED: 183 184 VMMDEV_TESTING_OUTPUT(("testing: FAILED '%.*s'\n", 185 sizeof(pThis->TestingData.String.sz) - 1, pThis->TestingData.String.sz)); 186 break; 187 case VMMDEV_TESTING_CMD_SKIPPED: 188 VMMDEV_TESTING_OUTPUT(("testing: SKIPPED '%.*s'\n", 184 189 sizeof(pThis->TestingData.String.sz) - 1, pThis->TestingData.String.sz)); 185 190 break;
Note:
See TracChangeset
for help on using the changeset viewer.