VirtualBox

Changeset 48149 in vbox for trunk/src/VBox/Runtime/testcase


Ignore:
Timestamp:
Aug 29, 2013 12:14:28 PM (11 years ago)
Author:
vboxsync
Message:

tstRTR0TimerDriver: Platforms without one-shot timer support handled at runtime by the testcase.

File:
1 edited

Legend:

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

    r48148 r48149  
    8282     * High resolution timers.
    8383     */
    84 #  ifndef RT_OS_SOLARIS // one-shot timers currently not supported on Solaris
    8584    RTR3TestR0SimpleTest(TSTRTR0TIMER_ONE_SHOT_BASIC_HIRES, "Basic hires one shot");
    86 #  endif
    8785    RTR3TestR0SimpleTest(TSTRTR0TIMER_PERIODIC_BASIC_HIRES, "Basic hires periodic");
    8886    if (RTTestErrorCount(g_hTest) == 0)
    8987    {
    9088#  if 1
    91 #   ifndef RT_OS_SOLARIS // one-shot timers currently not supported on Solaris
    9289        RTR3TestR0SimpleTest(TSTRTR0TIMER_ONE_SHOT_RESTART_HIRES, "Restart hires one shot from callback");
    9390        RTR3TestR0SimpleTest(TSTRTR0TIMER_ONE_SHOT_DESTROY_HIRES, "Destroy hires one shot from callback");
    94 #   endif
    9591        RTR3TestR0SimpleTest(TSTRTR0TIMER_PERIODIC_CSSD_LOOPS_HIRES, "Create-start-stop-destroy loops, hires");
    9692        for (uint32_t i = 0; i <= 7; i++)
    9793            RTR3TestR0SimpleTestWithArg(TSTRTR0TIMER_PERIODIC_CHANGE_INTERVAL, i, "Change interval from callback, hires, variation %u", i);
    9894#  endif
    99 #   ifndef RT_OS_SOLARIS // one-shot timers currently not supported on Solaris
    10095        RTR3TestR0SimpleTest(TSTRTR0TIMER_ONE_SHOT_SPECIFIC_HIRES, "One shot hires cpu specific");
    101 #   endif
    10296        RTR3TestR0SimpleTest(TSTRTR0TIMER_PERIODIC_SPECIFIC_HIRES, "Periodic hires cpu specific");
    10397        RTR3TestR0SimpleTest(TSTRTR0TIMER_PERIODIC_OMNI, "Periodic omni hires timer");
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