VirtualBox

Ignore:
Timestamp:
Feb 15, 2023 12:53:23 AM (23 months ago)
Author:
vboxsync
Message:

tstGuestControlMockHGCM,tstClipboardMockHGCM: Cleanups.

File:
1 edited

Legend:

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

    r98574 r98575  
    679679}
    680680
    681 int main(int argc, char *argv[])
     681int main()
    682682{
    683683    /*
    684684     * Init the runtime, test and say hello.
    685685     */
    686     const char *pcszExecName;
    687     NOREF(argc);
    688     pcszExecName = strrchr(argv[0], '/');
    689     pcszExecName = pcszExecName ? pcszExecName + 1 : argv[0];
    690     RTEXITCODE rcExit = RTTestInitAndCreate(pcszExecName, &g_hTest);
     686    RTEXITCODE rcExit = RTTestInitAndCreate("tstClipboardMockHGCM", &g_hTest);
    691687    if (rcExit != RTEXITCODE_SUCCESS)
    692688        return rcExit;
    693689    RTTestBanner(g_hTest);
    694690
    695 #ifndef DEBUG_andy
    696     /* Don't let assertions in the host service panic (core dump) the test cases. */
    697     RTAssertSetMayPanic(false);
    698 #endif
    699 
    700691    PTSTHGCMMOCKSVC const pSvc = TstHgcmMockSvcInst();
    701692    TstHgcmMockSvcCreate(pSvc);
     
    705696     * Run the tests.
    706697     */
    707     if (0)
    708     {
     698    if (0) /** @todo triggers assertion */
    709699        testGuestSimple();
     700    if (1)
    710701        testHostCall();
    711     }
    712702
    713703    RT_ZERO(g_TstCtx);
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