VirtualBox

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


Ignore:
Timestamp:
Aug 9, 2013 1:27:24 PM (11 years ago)
Author:
vboxsync
Message:

tstRTR0Timer: one-shot timers are not supported on Solaris

File:
1 edited

Legend:

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

    r47555 r47642  
    401401            {
    402402                RT_ZERO(State); ASMAtomicWriteU32(&State.cShots, State.cShots);
    403                 RTR0TESTR0_CHECK_RC_BREAK(RTTimerStart(pTimer, 0), VINF_SUCCESS);
     403                int rc = RTTimerStart(pTimer, 0);
     404                if (rc == VERR_NOT_SUPPORTED)
     405                {
     406                    RTR0TestR0Info("one-shot timer are not supported, skipping\n");
     407                    break;
     408                }
     409               
     410                RTR0TESTR0_CHECK_RC_BREAK(rc, VINF_SUCCESS);
    404411                for (uint32_t i = 0; i < 1000 && !ASMAtomicUoReadU32(&State.cShots); i++)
    405412                    RTThreadSleep(5);
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