VirtualBox

Changeset 63412 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Aug 13, 2016 3:41:55 PM (8 years ago)
Author:
vboxsync
Message:

32-bit gcc warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstVBoxMultipleVM.cpp

    r63260 r63412  
    4444
    4545/*********************************************************************************************************************************
    46 *   Global Variables & defs                                                                                                      *
     46*   Structures and Typedefs                                                                                                      *
    4747*********************************************************************************************************************************/
    48 typedef std::vector<Bstr>       TMachinesList;
    49 static volatile bool            g_RunTest = true;
    50 static RTSEMEVENT               g_PingEevent;
    51 static volatile uint64_t        g_Counter = 0;
    52 static RTTEST                   g_hTest;
    53 
    5448/* Arguments of test thread */
    5549struct TestThreadArgs
     
    6660};
    6761
    68 static TestThreadArgs g_Args;
     62
     63/*********************************************************************************************************************************
     64*   Global Variables & defs                                                                                                      *
     65*********************************************************************************************************************************/
     66static RTTEST                   g_hTest;
     67#ifdef RT_ARCH_AMD64
     68typedef std::vector<Bstr>       TMachinesList;
     69static volatile bool            g_RunTest = true;
     70static RTSEMEVENT               g_PingEevent;
     71static volatile uint64_t        g_Counter = 0;
     72static TestThreadArgs           g_Args;
    6973
    7074
     
    495499}
    496500
     501#endif /* RT_ARCH_AMD64 */
     502
    497503
    498504/**
     
    525531     * Linux OOM killer when running many VMs on a 32-bit host.
    526532     */
    527     RTTestSkipped(g_hTest, "Warning: the test can be processed on 64-bit hosts only.\n");
    528     return RTTestSummaryAndDestroy(g_hTest);
    529 #else
     533    return RTTestSkipAndDestroy(g_hTest, "The test can only run reliably on 64-bit hosts.");
     534#else  /* RT_ARCH_AMD64 */
    530535
    531536    RTPrintf("Initializing ...\n");
     
    592597        RTTestPassed(g_hTest, "Test finished.\n");
    593598    return RTTestSummaryAndDestroy(g_hTest);
    594 #endif
    595 }
    596 
     599#endif /* RT_ARCH_AMD64 */
     600}
     601
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