Changeset 63412 in vbox for trunk/src/VBox/Main
- Timestamp:
- Aug 13, 2016 3:41:55 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/tstVBoxMultipleVM.cpp
r63260 r63412 44 44 45 45 /********************************************************************************************************************************* 46 * Global Variables &defs *46 * Structures and Typedefs * 47 47 *********************************************************************************************************************************/ 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 54 48 /* Arguments of test thread */ 55 49 struct TestThreadArgs … … 66 60 }; 67 61 68 static TestThreadArgs g_Args; 62 63 /********************************************************************************************************************************* 64 * Global Variables & defs * 65 *********************************************************************************************************************************/ 66 static RTTEST g_hTest; 67 #ifdef RT_ARCH_AMD64 68 typedef std::vector<Bstr> TMachinesList; 69 static volatile bool g_RunTest = true; 70 static RTSEMEVENT g_PingEevent; 71 static volatile uint64_t g_Counter = 0; 72 static TestThreadArgs g_Args; 69 73 70 74 … … 495 499 } 496 500 501 #endif /* RT_ARCH_AMD64 */ 502 497 503 498 504 /** … … 525 531 * Linux OOM killer when running many VMs on a 32-bit host. 526 532 */ 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 */ 530 535 531 536 RTPrintf("Initializing ...\n"); … … 592 597 RTTestPassed(g_hTest, "Test finished.\n"); 593 598 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.