VirtualBox

Changeset 41416 in vbox


Ignore:
Timestamp:
May 23, 2012 1:04:53 PM (13 years ago)
Author:
vboxsync
Message:

VMMDevTesting: VMMDEV_TESTING_CMD_SKIPPED.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VMMDevTesting.h

    r38309 r41416  
    55
    66/*
    7  * Copyright (C) 2010 Oracle Corporation
     7 * Copyright (C) 2010-2012 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    7777 * finally the name (zero terminated string).  (RTTestValue) */
    7878#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)
    7981/** @} */
    8082
  • trunk/include/VBox/VMMDevTesting.mac

    r38309 r41416  
    2020%define VMMDEV_TESTING_CMD_FAILED       0xcab1e004
    2121%define VMMDEV_TESTING_CMD_VALUE        0xcab1e005
     22%define VMMDEV_TESTING_CMD_SKIPPED      0xcab1e006
    2223%define VMMDEV_TESTING_UNIT_PCT                 0x01
    2324%define VMMDEV_TESTING_UNIT_BYTES               0x02
  • trunk/src/VBox/Devices/VMMDev/VMMDevTesting.cpp

    r41413 r41416  
    55
    66/*
    7  * Copyright (C) 2010 Oracle Corporation
     7 * Copyright (C) 2010-2012 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    159159                case VMMDEV_TESTING_CMD_SUB_NEW:
    160160                case VMMDEV_TESTING_CMD_FAILED:
     161                case VMMDEV_TESTING_CMD_SKIPPED:
    161162                    if (   off < sizeof(pThis->TestingData.String.sz) - 1
    162163                        && cb == 1)
     
    182183                                case VMMDEV_TESTING_CMD_FAILED:
    183184                                    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",
    184189                                                           sizeof(pThis->TestingData.String.sz) - 1, pThis->TestingData.String.sz));
    185190                                    break;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette