VirtualBox

Changeset 56768 in vbox


Ignore:
Timestamp:
Jul 3, 2015 11:29:35 AM (9 years ago)
Author:
vboxsync
Message:

tstRTR0Timer.cpp: Fixed 'Unknown test #16' problem on windows and solaris.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTR0Timer.cpp

    r56767 r56768  
    487487        }
    488488
    489 #if !defined(RT_OS_SOLARIS) /* Not expected to work on all hosts. */
    490489        case TSTRTR0TIMER_ONE_SHOT_RESTART:
    491490        case TSTRTR0TIMER_ONE_SHOT_RESTART_HIRES:
    492491        {
     492#if !defined(RT_OS_SOLARIS) /* Not expected to work on all hosts. */
    493493            /* Create a one-shot timer and restart it in the callback handler. */
    494494            PRTTIMER pTimer;
     
    516516                RTR0TESTR0_CHECK_RC(RTTimerDestroy(pTimer), VINF_SUCCESS);
    517517            }
     518#else
     519            RTR0TestR0Info("restarting from callback not supported on this platform\n");
     520
     521#endif
    518522            break;
    519523        }
    520 #endif
    521 
    522 #if !defined(RT_OS_SOLARIS) && !defined(RT_OS_WINDOWS) /* Not expected to work on all hosts. */
     524
    523525        case TSTRTR0TIMER_ONE_SHOT_DESTROY:
    524526        case TSTRTR0TIMER_ONE_SHOT_DESTROY_HIRES:
    525527        {
     528#if !defined(RT_OS_SOLARIS) && !defined(RT_OS_WINDOWS) /* Not expected to work on all hosts. */
    526529            /* Create a one-shot timer and destroy it in the callback handler. */
    527530            PRTTIMER pTimer;
     
    552555                    RTR0TESTR0_CHECK_RC(RTTimerDestroy(pTimer), VINF_SUCCESS);
    553556            }
     557#else
     558            RTR0TestR0Info("destroying from callback not supported on this platform\n");
     559#endif
    554560            break;
    555561        }
    556 #endif
    557562
    558563        case TSTRTR0TIMER_ONE_SHOT_SPECIFIC:
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