VirtualBox

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


Ignore:
Timestamp:
Aug 29, 2013 5:16:42 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
88548
Message:

r0drv/solaris/timer: Fix specific periodic timers, one-shot any-cpu timers.
Fixed R0 timer testcase to not do unsupported and potentially dangerous tests on Solaris.

Location:
trunk/src/VBox/Runtime/testcase
Files:
2 edited

Legend:

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

    r48147 r48165  
    528528                    if (rc == VERR_NOT_SUPPORTED)
    529529                    {
    530                         RTR0TestR0Info("specific timer are not supported, skipping\n");
     530                        RTR0TestR0Info("one-shot specific timer are not supported, skipping\n");
    531531                        break;
    532532                    }
  • trunk/src/VBox/Runtime/testcase/tstRTR0TimerDriver.cpp

    r48149 r48165  
    6666    {
    6767#  if 1
     68#   ifndef RT_OS_SOLARIS        /* Solaris cannot call back into cyclic subsystem from a cyclic callback. */
    6869        RTR3TestR0SimpleTest(TSTRTR0TIMER_ONE_SHOT_RESTART, "Restart one shot from callback");
    6970        RTR3TestR0SimpleTest(TSTRTR0TIMER_ONE_SHOT_DESTROY, "Destroy one shot from callback");
     71#   endif
    7072        RTR3TestR0SimpleTest(TSTRTR0TIMER_PERIODIC_CSSD_LOOPS, "Create-start-stop-destroy loops");
    7173        for (uint32_t i = 0; i <= 7; i++)
     
    8789    {
    8890#  if 1
     91#   ifndef RT_OS_SOLARIS        /* Solaris cannot call back into cyclic subsystem from a cyclic callback. */
    8992        RTR3TestR0SimpleTest(TSTRTR0TIMER_ONE_SHOT_RESTART_HIRES, "Restart hires one shot from callback");
    9093        RTR3TestR0SimpleTest(TSTRTR0TIMER_ONE_SHOT_DESTROY_HIRES, "Destroy hires one shot from callback");
     94#   endif
    9195        RTR3TestR0SimpleTest(TSTRTR0TIMER_PERIODIC_CSSD_LOOPS_HIRES, "Create-start-stop-destroy loops, hires");
    9296        for (uint32_t i = 0; i <= 7; i++)
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