VirtualBox

Ignore:
Timestamp:
Jun 15, 2009 11:49:07 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
48658
Message:

IPRT/testcase: Use RTTestInitAndCreate.

File:
1 edited

Legend:

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

    r18991 r20606  
    5151     * Init the runtime and stuff.
    5252     */
    53     int rc;
    5453    RTTEST hTest;
    55     if (    RT_FAILURE(rc = RTR3Init())
    56         ||  RT_FAILURE(rc = RTTestCreate("tstFork", &hTest)))
    57     {
    58         RTPrintf("tstFork: fatal initialization error: %Rrc\n", rc);
    59         return 1;
    60     }
     54    int rc = RTTestInitAndCreate("tstFork", &hTest);
     55    if (rc)
     56        return rc;
    6157    RTTestBanner(hTest);
    6258
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette