VirtualBox

Changeset 20108 in vbox


Ignore:
Timestamp:
May 27, 2009 10:31:48 PM (16 years ago)
Author:
vboxsync
Message:

tstRTS3: always initialize iprt first.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/Makefile.kmk

    r20051 r20108  
    165165tstRTCritSectW32_DEFS = TRY_WIN32_CRIT
    166166
    167 tstDarwinSched_SOURCES = tstDarwinSched.cpp
    168 
    169167tstDeadlock_SOURCES = tstDeadlock.cpp
    170168
     
    185183
    186184tstFileAppendWin-1_SOURCES = tstFileAppendWin-1.cpp
     185
     186tstFileAio_SOURCES = tstFileAio.cpp
    187187
    188188tstFileLock_SOURCES = tstFileLock.cpp
     
    332332tstRTProcIsRunningByName_SOURCES = tstRTProcIsRunningByName.cpp
    333333
     334tstRTS3_SOURCES = tstRTS3.cpp
     335
    334336tstSemMutex_SOURCES = tstSemMutex.cpp
    335337
     
    369371tstUuid_SOURCES = tstUuid.cpp
    370372
    371 tstRTS3_SOURCES = tstRTS3.cpp
    372 
    373373tstUtf8_SOURCES = tstUtf8.cpp
    374374
    375 tstFileAio_SOURCES = tstFileAio.cpp
     375
     376#
     377# odds and  ends
     378#
     379
     380tstDarwinSched_SOURCES = tstDarwinSched.cpp
    376381
    377382ntGetTimerResolution_SOURCES = ntGetTimerResolution.cpp
  • trunk/src/VBox/Runtime/testcase/tstRTS3.cpp

    r20043 r20108  
    3939#include <iprt/test.h>
    4040
     41
     42/*******************************************************************************
     43*   Defined Constants And Macros                                               *
     44*******************************************************************************/
    4145/* Manual configuration of this testcase */
    4246#define TSTS3_CREATEBUCKET
     
    176180{
    177181    /*
     182     * Initialize IPRT and create the test.
     183     */
     184    int rc = RTR3Init();
     185    if (RT_FAILURE(rc))
     186        return 1;
     187    RTTEST hTest;
     188    rc = RTTestCreate("tstRTS3", &hTest);
     189    if (RT_FAILURE(rc))
     190        return 1;
     191    RTTestBanner(hTest);
     192
     193    /*
    178194     * If no args, display usage.
    179195     */
     
    183199        return 1;
    184200    }
    185 
    186     int rc = RTR3Init();
    187     if (RT_FAILURE(rc))
    188         return 1;
    189 
    190     RTTEST hTest;
    191     rc = RTTestCreate("tstRTS3", &hTest);
    192     if (RT_FAILURE(rc))
    193         return 1;
    194     RTTestBanner(hTest);
    195201
    196202    RTTestSubF(hTest, "Create S3");
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