VirtualBox

Changeset 82891 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 28, 2020 3:59:15 PM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard: Use RTAssertSetMayPanic() instead of overriding RTAssertShouldPanic(); doesn't work on Windows. bugref:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedClipboard/testcase/tstClipboardServiceHost.cpp

    r82890 r82891  
    3636};
    3737
    38 /** Don't let assertions in the host service panic (core dump) the test cases. */
    39 RTDECL(bool) RTAssertShouldPanic(void)
    40 {
    41 #ifndef DEBUG_andy
    42     return false;
    43 #else
    44     return true;
    45 #endif
    46 }
    47 
    4838/** Call completion callback for guest calls. */
    4939static DECLCALLBACK(int) callComplete(VBOXHGCMCALLHANDLE callHandle, int32_t rc)
     
    281271static void testHostCall(void)
    282272{
     273    RTAssertSetMayPanic(false);
     274
    283275    testSetMode();
    284276#ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
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